From c03966c8415de503eabf13fd27a1524a496119c9 Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Fri, 30 Apr 2021 12:57:30 +0200 Subject: [PATCH] install.sh: Correctly report an error when "zsh" is not found --- install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install.sh b/install.sh index 782e4cf..81811dd 100755 --- a/install.sh +++ b/install.sh @@ -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." -- 2.39.2