1
0
Fork 0

Make the chsh more reliable.

pull/4/head
Arthur Kalmenson 14 years ago
parent 68335ebbe9
commit 15f3b09cbf

@ -22,7 +22,12 @@ 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!"
if [ -f /bin/zsh ]
then
chsh -s /bin/zsh
else
chsh -s "/usr/bin/env zsh"
fi
echo ' __ __ '
echo ' ____ / /_ ____ ___ __ __ ____ _____/ /_ '

Loading…
Cancel
Save