mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-22 04:51:12 +02:00
More compatible with older git versions
This commit is contained in:
parent
eab7ff26cf
commit
66c2f5ccc3
1 changed files with 1 additions and 1 deletions
|
|
@ -68,7 +68,7 @@ main() {
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
env git clone --depth=1 $(git remote get-url origin) -b "$branch" $ZSH || {
|
env git clone --depth=1 $(git config --get remote.origin.url) -b "$branch" $ZSH || {
|
||||||
printf "Error: git clone of oh-my-zsh repo failed\n"
|
printf "Error: git clone of oh-my-zsh repo failed\n"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue