Fix bug
This commit is contained in:
parent
a7e167208f
commit
425b46aaad
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue