[Install] Prevent empty SHELL failing installation
This commit is contained in:
parent
e783b0a774
commit
a274273caa
2
Rakefile
2
Rakefile
@ -302,7 +302,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"
|
||||||
|
Loading…
Reference in New Issue
Block a user