Browse code

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

Robby Russell authored on 19/08/2010 at 15:04:18
Showing 1 changed files
... ...
@@ -22,7 +22,7 @@ echo "Copying your current PATH and adding it to the end of ~/.zshrc for you."
22 22
 echo "export PATH=$PATH" >> ~/.zshrc
23 23
 
24 24
 echo "Time to change your default shell to zsh!"
25
-chsh -s /bin/zsh
25
+chsh -s "/usr/bin/env zsh"
26 26
 
27 27
 echo '         __                                     __  '
28 28
 echo '  ____  / /_     ____ ___  __  __   ____  _____/ /_ '
... ...
@@ -32,5 +32,5 @@ echo '\____/_/ /_/  /_/ /_/ /_/\__, /    /___/____/_/ /_/  '
32 32
 echo '                        /____/'
33 33
 
34 34
 echo "\n\n ....is now installed."
35
-/bin/zsh
35
+/usr/bin/env zsh
36 36
 source ~/.zshrc