Skip to content

Commit

Permalink
show which repo failed to update
Browse files Browse the repository at this point in the history
  • Loading branch information
tamcore committed Jul 9, 2020
1 parent 4842ff6 commit 09caf45
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions autoupdate.plugin.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ function upgrade_oh_my_zsh_custom() {

if git pull --rebase --stat origin master
then
printf "${BLUE}%s${NORMAL}\n" "Hooray! $d has been updated and/or is at the current version."
printf "${BLUE}%s${NORMAL}\n" "Hooray! $p has been updated and/or is at the current version."
else
printf "${RED}%s${NORMAL}\n" 'There was an error updating. Try again later?'
printf "${RED}%s${NORMAL}\n" "There was an error updating $p. Try again later?"
fi
popd -q
done
Expand Down

0 comments on commit 09caf45

Please sign in to comment.