From 425b46aaadad5ad20fea3ea870ff4de12bf5a1e1 Mon Sep 17 00:00:00 2001 From: Thomas Forgione Date: Mon, 15 Apr 2019 18:04:47 +0200 Subject: [PATCH] Fix bug --- tforgione.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tforgione.sh b/tforgione.sh index 48c2f93..f2fa6af 100755 --- a/tforgione.sh +++ b/tforgione.sh @@ -132,7 +132,7 @@ configure_zsh() { else info "it seems your shell is not zsh..." yes_no_ask "do you want to change your shell ? (you'll need root) ?" - if [ $? -ne 0 ]; then + if [ $? -eq 0 ]; then info "changing your shell" sudo chsh $user -s /bin/zsh else