Skip to content

Commit

Permalink
autostash
Browse files Browse the repository at this point in the history
  • Loading branch information
tamcore committed Apr 24, 2022
1 parent c5f11ea commit 5491ddc
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
if git pull --rebase --stat --autostash
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 5491ddc

Please sign in to comment.