Switching to /usr/bin/env zsh instead of /bin/zsh in the installer

This commit is contained in:
Robby Russell 2010-08-19 08:04:18 -07:00
parent 3205628a51
commit d0eb0d9fbc

View file

@ -22,7 +22,7 @@ echo "Copying your current PATH and adding it to the end of ~/.zshrc for you."
echo "export PATH=$PATH" >> ~/.zshrc
echo "Time to change your default shell to zsh!"
chsh -s /bin/zsh
chsh -s "/usr/bin/env zsh"
echo ' __ __ '
echo ' ____ / /_ ____ ___ __ __ ____ _____/ /_ '
@ -32,5 +32,5 @@ echo '\____/_/ /_/ /_/ /_/ /_/\__, / /___/____/_/ /_/ '
echo ' /____/'
echo "\n\n ....is now installed."
/bin/zsh
/usr/bin/env zsh
source ~/.zshrc