From ebb19ef63bacdf37424b9fd7ce4c24aa24fd3967 Mon Sep 17 00:00:00 2001 From: thek4n Date: Tue, 7 Jan 2025 15:45:31 +0300 Subject: [PATCH] zsh: fix completions --- home/user/.config/zsh/completion | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/home/user/.config/zsh/completion b/home/user/.config/zsh/completion index c18384e..bd2edb2 100644 --- a/home/user/.config/zsh/completion +++ b/home/user/.config/zsh/completion @@ -3,6 +3,9 @@ # vim: ft=zsh fpath=(~/.zfunc $fpath) zmodload zsh/complist +setopt menucomplete +autoload -Uz compinit +compinit -d ~/.cache/zsh/.zcompdump zstyle ':completion:*' use-cache on 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 '^k' vi-up-line-or-history bindkey -M menuselect '^j' vi-down-line-or-history