From e4cf261fa381520ddaba5cd1a535fc67d83ae26d Mon Sep 17 00:00:00 2001 From: Joty Date: Sat, 14 Apr 2018 13:25:46 +0930 Subject: [PATCH] Make zsh default shell --- quickz-sh.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/quickz-sh.sh b/quickz-sh.sh index c5b3c91..11b368d 100755 --- a/quickz-sh.sh +++ b/quickz-sh.sh @@ -79,8 +79,7 @@ fi # source ~/.zshrc -#if chsh -s $(which zsh) && /bin/zsh -i -c upgrade_oh_my_zsh; then -if /bin/zsh -i -c upgrade_oh_my_zsh; then +if chsh -s $(which zsh) && /bin/zsh -i -c upgrade_oh_my_zsh; then echo -e "\nInstallation Successful, exit terminal and enter a new session" else echo -e "\nSomething is wrong"