Make zsh default shell

This commit is contained in:
Joty
2018-04-14 13:25:46 +09:30
parent 1d2ea0f43c
commit e4cf261fa3

View File

@@ -79,8 +79,7 @@ fi
# source ~/.zshrc # source ~/.zshrc
#if chsh -s $(which zsh) && /bin/zsh -i -c upgrade_oh_my_zsh; then if chsh -s $(which zsh) && /bin/zsh -i -c upgrade_oh_my_zsh; then
if /bin/zsh -i -c upgrade_oh_my_zsh; then
echo -e "\nInstallation Successful, exit terminal and enter a new session" echo -e "\nInstallation Successful, exit terminal and enter a new session"
else else
echo -e "\nSomething is wrong" echo -e "\nSomething is wrong"