mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-22 12:09:36 +08:00
parent
1c98b9cc38
commit
3cc1fa4046
|
@ -33,7 +33,7 @@ git config receive.fsck.zeroPaddedFilemode ignore
|
|||
|
||||
# Update upstream remote to ohmyzsh org
|
||||
remote=$(git remote -v | awk '/https:\/\/github\.com\/robbyrussell\/oh-my-zsh\.git/{ print $1; exit }')
|
||||
if [[ -n "$remote" ]]; then
|
||||
if [ -n "$remote" ]; then
|
||||
git remote set-url "$remote" "https://github.com/ohmyzsh/ohmyzsh.git"
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user