run-atpull
Summary
Section titled “Summary”run-atpull forces the atpull'' hook to run on every zinit update, even when
there are no new commits to download.
Syntax / Usage
Section titled “Syntax / Usage”zi ice run-atpullDetails
Section titled “Details”Normally atpull'' is skipped when zinit update finds no new commits. run-atpull
overrides this gate so the hook always fires. It is a flag ice — it takes no value.
Useful when the hook performs actions that must happen unconditionally (e.g. regenerating a compiled cache, re-running a configuration script).
Examples
Section titled “Examples”# Always re-run the generation script even if the repo did not changezi ice atclone"./gen.sh > output.zsh" atpull"%atclone" run-atpull src"output.zsh"zi light some/pluginSee Also
Section titled “See Also”- atpull
- atclone