nocompile
Summary
Section titled “Summary”nocompile prevents Zinit from compiling the pick''-selected file to .zwc
bytecode. The ! variant inverts this: compile, but after make'' and atclone''.
Syntax / Usage
Section titled “Syntax / Usage”zi ice nocompile # skip compilation entirelyzi ice nocompile'!' # compile, but AFTER make'' and atclone''Details
Section titled “Details”By default Zinit compiles the pick'' file at load time. Use nocompile when the
file is generated at runtime (and thus doesn’t exist yet when Zinit tries to compile
it), or when compilation is undesirable.
nocompile'!' is the complementary form: compilation is done but deferred until after
make'' and atclone'' complete. This is useful when make'' or atclone'' install
the scripts that pick'' points to.
Examples
Section titled “Examples”# LS_COLORS: c.zsh is generated by atclone, so don't compile itzi ice atclone"dircolors -b LS_COLORS > c.zsh" atpull'%atclone' pick"c.zsh" nocompile'!'zi light trapd00r/LS_COLORS
# Disable compilation for a script that must stay uncompiledzi ice pick"myscript.zsh" nocompilezi light user/mypluginSee Also
Section titled “See Also”- compile
- pick
- make