Skip to content

nocompletions

nocompletions disables Zinit’s automatic detection, installation, and management of completions for a plugin. Completions can still be installed manually later.

Terminal window
zi ice nocompletions

By default Zinit detects _* completion files in a plugin and installs them. nocompletions suppresses this. Completions can still be installed later with:

Terminal window
zinit creinstall {plugin-spec}

as"null" sets nocompletions internally as part of its shorthand.

nocompletions is a flag ice — it takes no value.

Terminal window
# Load a plugin but skip its completions
zi ice nocompletions
zi light user/plugin-with-completions-i-dont-want
# as"null" implicitly sets nocompletions
zi ice as"null" sbin"bin/*"
zi light user/binary-only-tool
  • completions
  • blockf
  • as