]> Sergey Matveev's repositories - dotfiles.git/commitdiff
Fix incremental-pattern-search with zsh 5.8.1 and autosuggestions
authorSergey Matveev <stargrave@stargrave.org>
Sun, 13 Feb 2022 21:29:22 +0000 (00:29 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Mon, 14 Feb 2022 06:50:45 +0000 (09:50 +0300)
zsh/.zsh/rc/020autosuggestions.zsh

index f54e883f32a74737f22fdb53b58695870214666d..4cba85541cd6c7f707242837c682cddd9a9f96fd 100644 (file)
@@ -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
+)