Merge 16df102489
into 4fec0a46e7
This commit is contained in:
commit
75b04da1a8
|
@ -61,7 +61,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…
Reference in New Issue