diff options
| author | Robby Russell <robby@planetargon.com> | 2012-06-24 12:35:48 -0700 | 
|---|---|---|
| committer | Robby Russell <robby@planetargon.com> | 2012-06-24 12:35:48 -0700 | 
| commit | 1425ffe85cd83c422f7a2e68992c4556948e1567 (patch) | |
| tree | 42166affce4f9ec85dac536ba1ccfeee2df9c23f /tools | |
| parent | 3ac3141cd610de995b2435011ac895ad15b89e2e (diff) | |
| parent | a39c9ffe5b7236b6e4dc78efa80b478cc411af7f (diff) | |
| download | zsh-1425ffe85cd83c422f7a2e68992c4556948e1567.tar.gz zsh-1425ffe85cd83c422f7a2e68992c4556948e1567.tar.bz2 zsh-1425ffe85cd83c422f7a2e68992c4556948e1567.zip  | |
Merge pull request #1192 from rcakirerk/a39c9ffe5b7236b6e4dc78efa80b478cc411af7f
Fix finding git issue.
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/install.sh | 7 | 
1 files changed, 2 insertions, 5 deletions
diff --git a/tools/install.sh b/tools/install.sh index 8ca427d2c..b080be3a1 100755 --- a/tools/install.sh +++ b/tools/install.sh @@ -5,13 +5,10 @@ then  fi  echo "\033[0;34mCloning Oh My Zsh...\033[0m" -which git > /dev/null -if [[ $? -eq 0 ]]; then -  /usr/bin/env git clone https://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh -else +hash git >/dev/null && /usr/bin/env git clone https://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh || {    echo "git not installed"    exit -fi +}  echo "\033[0;34mLooking for an existing zsh config...\033[0m"  if [ -f ~/.zshrc ] || [ -h ~/.zshrc ]  | 
