class Object
Public Instance Methods
reload_shell!()
click to toggle source
# File lib/just/cli/run.rb, line 97 def reload_shell! puts "" Just::CLI.success "Reloading your shell to reset aliases..." exec ENV['SHELL'] end
reset()
click to toggle source
# File lib/just/cli/run.rb, line 90 def reset Just::CLI::Reset.new.call(nil) Just::CLI.success "Just you!" reload_shell! end
run()
click to toggle source
# File lib/just/cli/run.rb, line 5 def run() doc = <<-DOC To setup Just, you just need to add this line to your ~/.bash_profile or ~/.zshrc: . ~/.just/aliases You should add this _before_ any of the host computer's aliases. Just so that that computer's aliases take precedence! It's just that simple. Just will do the rest! DOC Just::CLI.success doc.strip end