diff --git a/.zshrc b/.zshrc index 694bdca4..c64263d1 100644 --- a/.zshrc +++ b/.zshrc @@ -8,7 +8,7 @@ zstyle ':autocomplete:*' default-context '' # '': Start each new command line with normal autocompletion. # history-incremental-search-backward: Start in live history search mode. -zstyle ':autocomplete:*' min-delay 0.0 # float +zstyle ':autocomplete:*' min-delay 0.05 # float # Wait this many seconds for typing to stop, before showing completions. zstyle ':autocomplete:*' min-input 0 # int diff --git a/scripts/.autocomplete.async b/scripts/.autocomplete.async index ad551fb8..e9c62c4c 100644 --- a/scripts/.autocomplete.async +++ b/scripts/.autocomplete.async @@ -209,7 +209,7 @@ builtin zle -N history-incremental-search-forward .autocomplete.async.history-in { local -F min_delay= builtin zstyle -s :autocomplete: min-delay min_delay || - min_delay=0.01 + min_delay=0.05 zselect -t "$(( [#10] 100 * max( 0, min_delay - SECONDS ) ))" local -P hooks=( chpwd periodic precmd preexec zshaddhistory zshexit )