Detect location of zsh binary
This commit is contained in:
parent
e844374fe8
commit
e5d5d3c87a
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue