Skip to content

pullopts

pullopts'' passes arbitrary flags to the git pull command used when updating plugins.

Terminal window
zi ice pullopts"--rebase"
zi ice pullopts"--ff-only"

The contents of pullopts'' are appended to the git pull invocation during zinit update. Useful for enforcing a specific merge strategy (e.g. rebase, fast-forward only) for a particular plugin.

Does not work with snippets.

Terminal window
# Always rebase instead of merge when updating
zi ice pullopts"--rebase"
zi light some/plugin
  • cloneopts
  • depth