From: Sergey Matveev Date: Sun, 13 Feb 2022 21:29:22 +0000 (+0300) Subject: Fix incremental-pattern-search with zsh 5.8.1 and autosuggestions X-Git-Url: http://www.git.stargrave.org/?p=dotfiles.git;a=commitdiff_plain;h=5e2205df9515fe28781e91896733a26d3441722f Fix incremental-pattern-search with zsh 5.8.1 and autosuggestions --- diff --git a/zsh/.zsh/rc/020autosuggestions.zsh b/zsh/.zsh/rc/020autosuggestions.zsh index f54e883..4cba855 100644 --- a/zsh/.zsh/rc/020autosuggestions.zsh +++ b/zsh/.zsh/rc/020autosuggestions.zsh @@ -1,2 +1,7 @@ . ~/work/zsh-autosuggestions/zsh-autosuggestions.zsh +unset ZSH_AUTOSUGGEST_USE_ASYNC ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=cyan" +ZSH_AUTOSUGGEST_IGNORE_WIDGETS+=( + history-incremental-pattern-search-backward + history-incremental-pattern-search-forward +)