summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobby Russell <robby@planetargon.com>2010-08-19 08:04:18 -0700
committerRobby Russell <robby@planetargon.com>2010-08-19 08:04:18 -0700
commitaeabc3f616ccd407f68a621ecd676834e276c531 (patch)
tree997bc32b2c27b19c86c02cbeb0accd3718ee6aaf
parent75de90dc9eedc62edfbd34785f191c56fee802b0 (diff)
downloadzsh-aeabc3f616ccd407f68a621ecd676834e276c531.tar.gz
zsh-aeabc3f616ccd407f68a621ecd676834e276c531.tar.bz2
zsh-aeabc3f616ccd407f68a621ecd676834e276c531.zip
Switching to /usr/bin/env zsh instead of /bin/zsh in the installer
-rwxr-xr-xtools/install.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/install.sh b/tools/install.sh
index 004b252f4..6e3872bb9 100755
--- a/tools/install.sh
+++ b/tools/install.sh
@@ -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