mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-06-05 05:03:16 +02:00
Merge 16df102489 into 09fbc16366
This commit is contained in:
commit
398710650b
1 changed files with 2 additions and 1 deletions
|
|
@ -59,7 +59,8 @@ main() {
|
|||
exit 1
|
||||
fi
|
||||
fi
|
||||
env git clone --depth=1 https://github.com/robbyrussell/oh-my-zsh.git $ZSH || {
|
||||
# if running from the git repo use git's origin
|
||||
[ -d .git ]&& env git clone --depth=1 origin master || env git clone --depth=1 https://github.com/robbyrussell/oh-my-zsh.git $ZSH || {
|
||||
printf "Error: git clone of oh-my-zsh repo failed\n"
|
||||
exit 1
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue