Skip to content

Commit

Permalink
remove hard references to "origin" and "master" and just "git pull" f…
Browse files Browse the repository at this point in the history
…rom whereever the branch originates (addresses #19)
  • Loading branch information
tamcore committed Jan 29, 2021
1 parent 2e6a22b commit 708bd95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoupdate.plugin.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function upgrade_oh_my_zsh_custom() {
pt=$(basename ${pt:0:((${#pt} - 1))})
pushd -q "${p}"

if git pull --rebase --stat origin master
if git pull --rebase --stat
then
printf "${BLUE}%s${NORMAL}\n" "Hooray! the $pn $pt has been updated and/or is at the current version."
else
Expand Down

0 comments on commit 708bd95

Please sign in to comment.