🔺 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-copyzi 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'zi snippet https://github.com/BurntSushi/ripgrep/blob/master/complete/_rg
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
COMP: rust-lang/cargo
zi ice lucid wait as'completion' blockf has'cargo'zi snippet https://github.com/rust-lang/cargo/blob/master/src/etc/_cargo
COMP: srijanshetty/zsh-pandoc-completion
zi ice lucid wait as'completion' blockf has'pandoc'zi light srijanshetty/zsh-pandoc-completion
COMP: TheLocehiliosan/yadm
zi ice lucid wait as'completion' blockf has'yadm'zi snippet https://github.com/TheLocehiliosan/yadm/blob/master/completion/zsh/_yadm
COMP: x-motemen/ghq
zi ice lucid wait as'completion' blockf has'ghq'zi snippet https://github.com/x-motemen/ghq/blob/master/misc/zsh/_ghq
COMP: zchee/zsh-completions
zi ice lucid wait as'completion' blockfzi light zchee/zsh-completions
COMP: zsh-users/zsh-completions
zi ice lucid wait as'completion'zi light zsh-users/zsh-completions
COMP: Local
zi ice lucid wait as'completion' blockf has'pip'zi snippet "$SHELL_COMMON/zsh/completions/_pip"zi ice lucid wait as'completion' blockf has'poetry'zi snippet "$SHELL_COMMON/zsh/completions/_poetry"zi ice lucid wait has'thefuck'zi snippet "$SHELL_COMMON/zsh/thefuck/thefuck.sh"zi ice lucid waitzi snippet "$XDG_CONFIG_HOME/less/less_termcap.sh"zi ice lucid wait pick'aliases.sh' \ multisrc'functions_ghq.sh pash.sh functions.sh aliases_private.sh'zi light "$SHELL_COMMON"zi ice lucid wait has'broot'zi snippet "$XDG_CONFIG_HOME/broot/launcher/bash/br"