diff --git a/tools/upgrade.sh b/tools/upgrade.sh index e41817885..2edf5b059 100755 --- a/tools/upgrade.sh +++ b/tools/upgrade.sh @@ -33,7 +33,7 @@ if [ -t 1 ]; then fi # Update upstream remote to ohmyzsh org -git remote -v | while read remote url _; do +git remote -v | while read remote url extra; do case "$url" in https://github.com/robbyrussell/oh-my-zsh(|.git)) git remote set-url "$remote" "https://github.com/ohmyzsh/ohmyzsh.git"