Fix $SHELL check before setting shell
This commit is contained in:
parent
319886a11a
commit
2e053c7107
|
@ -14,7 +14,7 @@ namespace :zsh do
|
|||
end
|
||||
sh_safe '~/.dotfiles/install.sh'
|
||||
|
||||
if `printenv SHELL | grep "/zsh$"`
|
||||
unless `printenv SHELL | grep "/zsh$"`
|
||||
echo "Setting shell to ZSH", 2
|
||||
zsh_bin = is_mac? ? "/usr/local/bin/zsh" : "/usr/bin/zsh"
|
||||
if !File.exists? zsh_bin
|
||||
|
|
Loading…
Reference in a new issue