mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-01 04:30:37 +02:00
set upgrade to look at upstream if it exists
This commit is contained in:
parent
62b0abdb6e
commit
af912fc5d6
1 changed files with 1 additions and 1 deletions
|
|
@ -22,7 +22,7 @@ fi
|
|||
|
||||
printf "${BLUE}%s${NORMAL}\n" "Updating Oh My Zsh"
|
||||
cd "$ZSH"
|
||||
if git pull --rebase --stat origin master
|
||||
if [ -d .git/refs/upsteam ] git pull --rebase --stat upstream master || git pull --rebase --stat origin master
|
||||
then
|
||||
printf '%s' "$GREEN"
|
||||
printf '%s\n' ' __ __ '
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue