Made this check sh friendly

This commit is contained in:
Daniel Lockard 2012-06-21 15:55:50 -05:00
commit 94d3048de7

View file

@ -6,7 +6,7 @@ fi
echo "\033[0;34mCloning Oh My Zsh...\033[0m"
which git > /dev/null
if [[ $? -eq 0 ]]; then
if [ $? -eq 0 ]; then
/usr/bin/env git clone https://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
else
echo "git not installed"