mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-02 02:19:06 +01:00
Made this check sh friendly
This commit is contained in:
parent
e8d582aba9
commit
94d3048de7
1 changed files with 1 additions and 1 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue