Detect location of zsh binary

This commit is contained in:
Henrik Lissner 2013-03-26 04:33:59 -04:00
parent e844374fe8
commit e5d5d3c87a

View file

@ -14,7 +14,7 @@ if [ ! -d ~/.oh-my-zsh ]; then
# Set new shell
echo-g "==> ZSH: Changing shell"
chsh -s /bin/zsh
chsh -s $(which zsh)
else
echo-g "==> ZSH: Updating"
cd ~/.oh-my-zsh