From cffd3b85f3a0fbe48c02f31db054ca1daef51f29 Mon Sep 17 00:00:00 2001 From: Kaleb Elwert Date: Wed, 1 Mar 2017 17:04:50 -0800 Subject: [PATCH] Allow install to continue if zsh is in path --- tools/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/install.sh b/tools/install.sh index 3f4de868..c534e2db 100755 --- a/tools/install.sh +++ b/tools/install.sh @@ -25,7 +25,7 @@ main() { set -e CHECK_ZSH_INSTALLED=$(grep /zsh$ /etc/shells | wc -l) - if [ ! $CHECK_ZSH_INSTALLED -ge 1 ]; then + if [ ! $CHECK_ZSH_INSTALLED -ge 1 ] && ! which zsh 2> /dev/null; then printf "${YELLOW}Zsh is not installed!${NORMAL} Please install zsh first!\n" exit fi