Sha256: ccd9d94a6b6025445cfe1f4d88483754331a582a2b7710b40a2bc3e1a9d92fb2
Contents?: true
Size: 655 Bytes
Versions: 4
Compression:
Stored size: 655 Bytes
Contents
module Rip module Commands # Generate necessary envs etc. in ~/.{bash,zsh,...}rc. # o "rip setup [script to modify]" x "Inserts required environment variables into your startup script." x x "Pass it the startup script you want to modify, otherwise it will" x "guess one." def setup(options = {}, script = nil) require "rip/setup" if Setup.setup_startup_script(script) ui.puts "rip: Your #{Setup.startup_script} script has been modified." ui.puts "rip: Please restart your shell or type `source #{Rip::Setup.startup_script}` for the changes to become effective." end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
rip-0.0.4 | lib/rip/commands/setup.rb |
rip-0.0.5 | lib/rip/commands/setup.rb |
rip-0.0.3 | lib/rip/commands/setup.rb |
rip-0.0.2 | lib/rip/commands/setup.rb |