Permalink
Browse files

Use hash instead of which in install script

  • Loading branch information...
1 parent e8d582a commit d81a06e9f96cbcd0beb47713d03310fb30a13d60 @staticsafe committed Jun 16, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 tools/install.sh
View
2 tools/install.sh
@@ -5,7 +5,7 @@ then
fi
echo "\033[0;34mCloning Oh My Zsh...\033[0m"
-which git > /dev/null
+hash git &>/dev/null
if [[ $? -eq 0 ]]; then
/usr/bin/env git clone https://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
else

0 comments on commit d81a06e

Please sign in to comment.