From: Alexander Barton Date: Sat, 12 Sep 2015 18:07:15 +0000 (+0200) Subject: install.sh: Use "which" instead of "type" X-Git-Url: https://arthur.barton.de/gitweb/?p=ax-zsh.git;a=commitdiff_plain;h=957c13fc5224453257075e48553ff2dfc7ec7f44 install.sh: Use "which" instead of "type" "type" isn't POSIX compliant. --- 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 $?