From 1aa3d357d6b4c06d10a2333302ffa37310eafc29 Mon Sep 17 00:00:00 2001 From: Yoshiki Obinata Date: Wed, 31 Jul 2024 17:46:54 +0900 Subject: [PATCH] [zsh] use command candidate to complete command --- roles/zsh/config/rc.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/zsh/config/rc.zsh b/roles/zsh/config/rc.zsh index f5a87a2..163db0b 100644 --- a/roles/zsh/config/rc.zsh +++ b/roles/zsh/config/rc.zsh @@ -132,5 +132,5 @@ ZSH_HIGHLIGHT_STYLES[comment]=fg=245 # make comment out color lighter # zsh autosuggestions source /usr/share/zsh-autosuggestions/zsh-autosuggestions.zsh -ZSH_AUTOSUGGEST_STRATEGY=(history completion) +ZSH_AUTOSUGGEST_STRATEGY=(completion history) ZSH_AUTOSUGGEST_USE_ASYNC=1 # avoid too slow completion