]> arthur.barton.de Git - ax-zsh.git/blobdiff - install.sh
install.sh: Correctly report an error when "zsh" is not found
[ax-zsh.git] / 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."