跳到主要内容

🔺 Completions

提示

Create your own syntax e.g:

  • The ver'master' - allows to select specific version or branch.
  • It's optional and can be removed if not required.
z_lucid() {
zi ice lucid ver'master' "$@"
}

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: docker/cli

zi ice as"completion"zi snippet https://github.com/docker/cli/blob/master/contrib/completion/zsh/_docker

COMP: Aloxaf/fzf-tab

zi ice lucid wait has'fzf'zi light Aloxaf/fzf-tab

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: greymd/tmux-xpanes

zi ice lucid wait as'completion' blockf has'tmux' pick'completion/zsh'zi light greymd/tmux-xpanes

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: ohmyzsh/rust

zi ice lucid wait as'completion' blockf has'rustc'zi snippet https://github.com/ohmyzsh/ohmyzsh/blob/master/plugins/rust/_rust

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: TheLocehiliosan/yadm

zi ice lucid wait as'completion' blockf has'yadm'zi snippet https://github.com/TheLocehiliosan/yadm/blob/master/completion/zsh/_yadm

COMP: dbrgn/tealdeer

zi ice lucid wait as'completion' blockf has'tldr' mv'zsh_tealdeer -> _tldr'zi snippet https://github.com/dbrgn/tealdeer/blob/master/zsh_tealdeer

COMP: srijanshetty/zsh-pandoc-completion

zi ice lucid wait as'completion' blockf has'pandoc'zi light srijanshetty/zsh-pandoc-completion

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: 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: alacritty/alacritty

zi ice lucid wait as'completion' blockf has'alacritty'zi snippet https://github.com/alacritty/alacritty/blob/master/extra/completions/_alacritty

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: flatpak/flatpak

zi ice lucid wait as'completion' blockf has'flatpak'zi light https://github.com/flatpak/flatpak/blob/master/completion/_flatpak

COMP: beetbox/beets

zi ice lucid wait as'completion' blockf has'beet'zi snippet https://github.com/beetbox/beets/blob/master/extra/_beet

COMP: zsh-users/zsh-completions

zi ice lucid wait as'completion'zi light zsh-users/zsh-completions

COMP: zchee/zsh-completions

zi ice lucid wait as'completion' blockfzi light zchee/zsh-completions

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: bun-sh

zi ice lucid wait as'completion' blockf has'bun'zi snippet https://github.com/oven-sh/bun/blob/main/completions/bun.zsh

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"