zsh completions

This commit is contained in:
thek4n 2024-12-12 14:44:49 +03:00
parent b20f8aab0a
commit 37e9ac2814
2 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,8 @@
# vim: ft=zsh # vim: ft=zsh
alias zshrc='source "${ZDOTDIR}/.zshrc"'
_d() { true ; } _d() { true ; }
_f() { true ; } _f() { true ; }

View File

@ -6,7 +6,7 @@ compinit -d ~/.cache/zsh/.zcompdump
zstyle ':completion:*' use-cache on zstyle ':completion:*' use-cache on
zstyle ':completion:*' cache-path "${HOME}/.cache/zsh/.zcompcache" zstyle ':completion:*' cache-path "${HOME}/.cache/zsh/.zcompcache"
zstyle ':completion:*' menu select zstyle ':completion:*' menu yes select
zstyle ':completion:*' auto-description 'specify: %d' zstyle ':completion:*' auto-description 'specify: %d'
zstyle ':completion:*' format 'Completing %d' zstyle ':completion:*' format 'Completing %d'
zstyle ':completion:*' group-name '' zstyle ':completion:*' group-name ''
@ -47,7 +47,7 @@ bindkey -M menuselect '^j' vi-down-line-or-history
bindkey -M menuselect '^l' vi-forward-char bindkey -M menuselect '^l' vi-forward-char
bindkey -M menuselect '^e' undo bindkey -M menuselect '^e' undo
bindkey -M menuselect '^[' cancel bindkey -M menuselect '^[' cancel
bindkey -M menuselect '^I' accept-and-complete bindkey -M menuselect '^I' accept-and-infer-next-history
bindkey -M menuselect '^M' check-command bindkey -M menuselect '^M' check-command
setopt list_packed setopt list_packed