]> arthur.barton.de Git - ax-zsh.git/commitdiff
install.sh: Correctly report an error when "zsh" is not found
authorAlexander Barton <alex@barton.de>
Fri, 30 Apr 2021 10:57:30 +0000 (12:57 +0200)
committerAlexander Barton <alex@barton.de>
Fri, 30 Apr 2021 10:57:30 +0000 (12:57 +0200)
install.sh

index 782e4cf761c3892adcdb38a11b283ff92231af69..81811dd3f11ee9136fcf041b703da32904868808 100755 (executable)
@@ -90,6 +90,7 @@ if [ ! -d "$AXZSH/active_plugins" ]; then
                zsh "$AXZSH/bin/axzshctl" reset-plugins || abort
        else
                ax_msg 1 "Oops, \"zsh\" not found!?"
+               exit 1
        fi
 else
        ax_msg - "Plugin directory \"$AXZSH/active_plugins\" already exists. Ok."