using command -v instead of which for changing the shell.

This commit is contained in:
staticsafe 2012-06-16 15:35:29 -04:00
commit 02306deac0

View file

@ -28,7 +28,7 @@ echo "\033[0;34mCopying your current PATH and adding it to the end of ~/.zshrc f
echo "export PATH=$PATH" >> ~/.zshrc echo "export PATH=$PATH" >> ~/.zshrc
echo "\033[0;34mTime to change your default shell to zsh!\033[0m" echo "\033[0;34mTime to change your default shell to zsh!\033[0m"
chsh -s `which zsh` chsh -s `command -v zsh`
echo "\033[0;32m"' __ __ '"\033[0m" echo "\033[0;32m"' __ __ '"\033[0m"
echo "\033[0;32m"' ____ / /_ ____ ___ __ __ ____ _____/ /_ '"\033[0m" echo "\033[0;32m"' ____ / /_ ____ ___ __ __ ____ _____/ /_ '"\033[0m"