mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-10-02 16:03:47 +02:00
Changed to use which.
This commit is contained in:
1 parent
5f415c465a
commit
1354eb1248
1 file changed
+1
-6
+1
-6
@@ -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 ' ____ / /_ ____ ___ __ __ ____ _____/ /_ '
|
||||||
|
|||||||
Reference in new issue
Block a user