mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-02 02:19:06 +01:00
Use hash instead of which in install script
See - http://stackoverflow.com/a/677212/1403956
This commit is contained in:
parent
e8d582aba9
commit
d81a06e9f9
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue