Permalink
Browse files

use command -v instead because this script runs in sh.

  • Loading branch information...
1 parent 02306de commit 768b6722bfcf241be3445b9ccb3cfb01e106f44a @staticsafe committed Jun 16, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 tools/install.sh
View
@@ -5,7 +5,7 @@ then
fi
echo "\033[0;34mCloning Oh My Zsh...\033[0m"
-hash git &>/dev/null
+command -v 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 768b672

Please sign in to comment.