Skip to content
This repository has been archived by the owner on Nov 18, 2021. It is now read-only.

zdharma-continuum/zinit-package-system-completions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Deprecated

❗ 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

system-completions Zinit package

Package source: Tarball Binary Git Node Gem
Status: - - -

Introduction

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.

The system-completions Package

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

Default Profile

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published