diff --git a/tools/install.sh b/tools/install.sh index 40690a497..f4ec478a1 100755 --- a/tools/install.sh +++ b/tools/install.sh @@ -1,3 +1,11 @@ +which zsh>/dev/null +RES=$? +if [ $RES -ne 0 ] +then + echo "\033[0;33mYou do not have zsh installed.\033[0m You'll need to install zsh first if you want to install oh-my-zsh" + exit +fi + if [ -d ~/.oh-my-zsh ] then echo "\033[0;33mYou already have Oh My Zsh installed.\033[0m You'll need to remove ~/.oh-my-zsh if you want to install"