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 75de90dc9e
commit aeabc3f616
1 changed files with 2 additions and 2 deletions

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