mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-12 20:21:02 +01:00
Make the chsh more reliable.
This commit is contained in:
parent
971b071dc6
commit
1e2152fcf3
1 changed files with 6 additions and 1 deletions
|
@ -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!"
|
||||
chsh -s "/usr/bin/env zsh"
|
||||
if [ -f /bin/zsh ]
|
||||
then
|
||||
chsh -s /bin/zsh
|
||||
else
|
||||
chsh -s "/usr/bin/env zsh"
|
||||
fi
|
||||
|
||||
echo ' __ __ '
|
||||
echo ' ____ / /_ ____ ___ __ __ ____ _____/ /_ '
|
||||
|
|
Loading…
Reference in a new issue