Skip to content

Commit

Permalink
fix(self-update): respect option flags
Browse files Browse the repository at this point in the history
Signed-off-by: Vladislav Doster <[email protected]>
  • Loading branch information
vladdoster committed Jan 26, 2024
1 parent c573bba commit e8e0ceb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zinit-autoload.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -1854,7 +1854,7 @@ print -- "\nAvailable ice-modifiers:\n\n${ice_order[*]}"
builtin print
}
fi
local branch='--set-upstream https://github.com/zdharma-continuum/zinit main'
local branch='--set-upstream origin main'
if (( !OPTS[opt_-q,--quiet] )); then
command git pull --autostash --ff-only --no-stat --squash ${=branch}
else
Expand Down

0 comments on commit e8e0ceb

Please sign in to comment.