🔺 Completions
警告
It is highly recommended to check the repository contents before installing. This may help to install it correctly and prevent potential security risks.
Do not hesitate to report any issues you encounter.
信息
提示
Create your own syntax e.g:
- The ver'main' - allows selecting a specific version or branch.
- It's optional and can be removed if not required.
z_lucid() {
zi ice lucid ver'main' "$@"
}
zi0a() {
z_lucid wait'0a' "$@"
}
zi_completion() {
zi0a as'completion' blockf "$@"
}
提示
Then load as:
zi_completion has'…'
zi snippet …
zi_completion has'…' pick'…' from'…'
zi light …
zi_completion has'…'
zi snippet …
COMP: alacritty/alacritty
zi ice lucid wait as'completion' blockf has'alacritty'
zi snippet https://github.com/alacritty/alacritty/blob/master/extra/completions/_alacritty
COMP: Aloxaf/fzf-tab
zi ice lucid wait has'fzf'
zi light Aloxaf/fzf-tab
COMP: beetbox/beets
zi ice lucid wait as'completion' blockf has'beet'
zi snippet https://github.com/beetbox/beets/blob/master/extra/_beet
COMP: bugaevc/wl-clipboard
zi ice lucid wait as'completion' blockf has'wl-copy'
zi snippet https://github.com/bugaevc/wl-clipboard/blob/master/completions/zsh/_wl-copy
zi ice lucid wait as'completion' blockf has'wl-paste'
zi snippet https://github.com/bugaevc/wl-clipboard/blob/master/completions/zsh/_wl-paste
COMP: BurntSushi/ripgrep/rg
zi ice lucid wait as'completion' blockf has'rg' mv'rg.zsh -> _rg'
zi snippet https://github.com/BurntSushi/ripgrep/blob/master/crates/core/flags/complete/rg.zsh
COMP: dbrgn/tealdeer
zi ice lucid wait as'completion' blockf has'tldr' mv'zsh_tealdeer -> _tldr'
zi snippet https://github.com/dbrgn/tealdeer/blob/main/completion/zsh_tealdeer
COMP: docker/cli
zi ice as"completion"
zi snippet https://github.com/docker/cli/blob/master/contrib/completion/zsh/_docker
COMP: flatpak/flatpak
zi ice lucid wait as'completion' blockf has'flatpak'
zi light https://github.com/flatpak/flatpak/blob/master/completion/_flatpak
COMP: git/git
zi ice lucid wait as'completion' blockf mv'git-completion.zsh -> _git'
zi snippet https://github.com/git/git/blob/master/contrib/completion/git-completion.zsh
COMP: greymd/tmux-xpanes
zi ice lucid wait as'completion' blockf has'tmux' pick'completion/zsh'
zi light greymd/tmux-xpanes
COMP: jarun/Buku
zi ice lucid wait as'completion' blockf has'buku'
zi snippet https://github.com/jarun/Buku/blob/master/auto-completion/zsh/_buku
COMP: mpv-player/mpv
zi ice lucid wait as'completion' blockf has'mpv'
zi snippet https://github.com/mpv-player/mpv/blob/master/etc/_mpv.zsh
COMP: ohmyzsh/fd
zi ice lucid wait as'completion' blockf has'fd'
zi snippet https://github.com/ohmyzsh/ohmyzsh/blob/master/plugins/fd/_fd
COMP: ohmyzsh/rust
zi ice lucid wait as'completion' blockf has'rustc'
zi snippet https://github.com/ohmyzsh/ohmyzsh/blob/master/plugins/rust/_rustc
COMP: oven-sh/bun
zi ice lucid wait as'completion' blockf has'bun'
zi snippet https://github.com/oven-sh/bun/blob/main/completions/bun.zsh