From 957c13fc5224453257075e48553ff2dfc7ec7f44 Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Sat, 12 Sep 2015 20:07:15 +0200 Subject: [PATCH] install.sh: Use "which" instead of "type" "type" isn't POSIX compliant. --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 26ec741..2bc902c 100755 --- a/install.sh +++ b/install.sh @@ -70,7 +70,7 @@ done if [ ! -d "$AXZSH/active_plugins" ]; then ax_msg - "Initializing plugin directory \"$AXZSH/active_plugins\" ..." - type zsh >/dev/null 2>&1 + which zsh >/dev/null 2>&1 if [ $? -eq 0 ]; then zsh "$AXZSH/bin/axzshctl" reset-plugins exit $? -- 2.39.2