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