This commit is contained in:
Thomas Forgione 2019-04-15 18:04:47 +02:00
parent a7e167208f
commit 425b46aaad
No known key found for this signature in database
GPG Key ID: 203DAEA747F48F41
1 changed files with 1 additions and 1 deletions

View File

@ -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