1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-12-22 23:08:00 +00:00

Changed to use which.

This commit is contained in:
Arthur Kalmenson 2011-04-18 22:51:28 -04:00
parent cd3896b0c4
commit 0f25c6dbd9

View File

@ -22,12 +22,7 @@ echo "Copying your current PATH and adding it to the end of ~/.zshrc for you."
echo "export PATH=$PATH" >> ~/.zshrc echo "export PATH=$PATH" >> ~/.zshrc
echo "Time to change your default shell to zsh!" echo "Time to change your default shell to zsh!"
if [ -f /bin/zsh ] chsh -s `which zsh`
then
chsh -s /bin/zsh
else
chsh -s "/usr/bin/env zsh"
fi
echo ' __ __ ' echo ' __ __ '
echo ' ____ / /_ ____ ___ __ __ ____ _____/ /_ ' echo ' ____ / /_ ____ ___ __ __ ____ _____/ /_ '