zsh: fix completions
This commit is contained in:
parent
3c27faae0e
commit
ebb19ef63b
@ -3,6 +3,9 @@
|
|||||||
# vim: ft=zsh
|
# vim: ft=zsh
|
||||||
fpath=(~/.zfunc $fpath)
|
fpath=(~/.zfunc $fpath)
|
||||||
zmodload zsh/complist
|
zmodload zsh/complist
|
||||||
|
setopt menucomplete
|
||||||
|
autoload -Uz compinit
|
||||||
|
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"
|
||||||
@ -37,7 +40,6 @@ zstyle ':completion:*:warnings' format ' %F{red}-- no matches found --%f'
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
bindkey '^N' menu-select
|
|
||||||
bindkey -M menuselect '^h' vi-backward-char
|
bindkey -M menuselect '^h' vi-backward-char
|
||||||
bindkey -M menuselect '^k' vi-up-line-or-history
|
bindkey -M menuselect '^k' vi-up-line-or-history
|
||||||
bindkey -M menuselect '^j' vi-down-line-or-history
|
bindkey -M menuselect '^j' vi-down-line-or-history
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user