1354eb124893df9c8f60f668550efcafb94eb05f
- Author
- Arthur Kalmenson <arthur.kalm@gmail.com>
- Committer
- Arthur Kalmenson <arthur.kalm@gmail.com>
- Date
Message
Changed to use which.
Diff
1diff --git a/tools/install.sh b/tools/install.sh
2index 1b8c80f21ef2f46e5dd5227fedc200c2462a11a0..8ed1403af12109c0dd23051e41c4acf353501fcf 100755
3--- a/tools/install.sh
4+++ b/tools/install.sh
5@@ -22,12 +22,7 @@ echo "Copying your current PATH and adding it to the end of ~/.zshrc for you."
6 echo "export PATH=$PATH" >> ~/.zshrc
7
8 echo "Time to change your default shell to zsh!"
9-if [ -f /bin/zsh ]
10-then
11- chsh -s /bin/zsh
12-else
13- chsh -s "/usr/bin/env zsh"
14-fi
15+chsh -s `which zsh`
16
17 echo ' __ __ '
18 echo ' ____ / /_ ____ ___ __ __ ____ _____/ /_ '