Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

z-shell/brew-completions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

33 Commits

Repository files navigation

ZI Package - Brew Completions

A package brings Homebrew Shell Completion under the control of Zsh & ZI

Package source: Tarball Binary Git Node Gem Mod
Status: (default)


Available pack'' invocations

Selectively enable or disable the completions with cenable and cdisable.

Default Profile

zi pack for brew-completions
# Utilize Turbo
zi wait pack for brew-completions
# Utilize Turbo and initialize the completion system
zi wait pack atload=+"zicompinit; zicdreplay" for brew-completions
# Utilize Turbo and initialize the completion with fast compinit
zi wait pack atload=+"zicompinit_fast; zicdreplay" for brew-completions

The ZI command executed will be equivalent to:

zi has'brew' id-as='brew-completions' wait as='completion' lucid \
atclone="+zi-message 'Installing Brew completions...'; \
command mkdir -p ${ZPFX}/completions; \
command cp -f $(brew --prefix)/share/zsh/site-functions/_* ${ZPFX}/completions; \
zi creinstall -q $(brew --prefix)/share/zsh/site-functions" \
atload='fpath=( ${(u)fpath[@]:#$(brew --prefix)/share/zsh/*} ); fpath+=( ${ZPFX}/completions )' \
atpull='%atclone' run-atpull nocompile countdown for \
z-shell/0

This repository compatible with ZI

The ZI package that uses the zsh-string-lib 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 overridden.

About

ZI Package - Brew Completions

Topics

Resources

Readme

License

GPL-3.0 license

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy

Stars

Watchers

Forks

Contributors