Merge pull request #268 from chadkouse/env_shell

"uninitialized constant SHELL" in zsh install step
This commit is contained in:
Yan Pritzker 2013-03-21 15:04:31 -07:00
commit 0f56becbfe

View File

@ -146,7 +146,7 @@ def install_prezto
run %{ mkdir -p $HOME/.zsh.after } run %{ mkdir -p $HOME/.zsh.after }
run %{ mkdir -p $HOME/.zsh.prompts } run %{ mkdir -p $HOME/.zsh.prompts }
if ENV[SHELL].include? 'zsh' then if ENV["SHELL"].include? 'zsh' then
puts "Zsh is already configured as your shell of choice. Restart your session to load the new settings" puts "Zsh is already configured as your shell of choice. Restart your session to load the new settings"
else else
puts "Setting zsh as your default shell" puts "Setting zsh as your default shell"