❗ All zinit-packages have been migrated to https://github.com/zdharma-continuum/zinit-packages You'll find the source for this here package in https://github.com/zdharma-continuum/zinit-packages/tree/HEAD/system-completions
Package source: | Tarball | Binary | Git | Node | Gem |
---|---|---|---|---|---|
Status: | - | - | - | – | – |
Zinit can use a package.json
(similar in construct to the one used in npm
packages) to automatically:
- get the plugin's Git repository OR release-package URL,
- get the list of the recommended ices for the plugin,
- there can be multiple lists of ices,
- the ice lists are stored in profiles; there's at least one profile, default,
- the ices can be selectively overriden.
Moves the stock Zsh completions under the control of Zinit. You can then
selectively enable and disable the completions with cenable
and cdisable
.
Example Zinit invocations:
zinit pack for system-completions
# Utilize Turbo
zinit wait pack for system-completions
# Utilize Turbo and initialize the completion system
zinit wait pack atload=+"zicompinit; zicdreplay" for system-completions
The Zinit command executed will be equivalent to:
zinit id-as=system-completions wait as=completion lucid \
atclone='print Installing system completions...; \
mkdir -p $ZPFX/funs; \
command cp -f $ZPFX/share/zsh/$ZSH_VERSION/functions/^_* $ZPFX/funs; \
zinit creinstall -q $ZPFX/share/zsh/$ZSH_VERSION/functions' \
atload='fpath=( ${(u)fpath[@]:#$ZPFX/share/zsh/*} ); \
fpath+=( $ZPFX/funs )' \
atpull="%atclone" run-atpull for \
zdharma/null