From 6ae287ff47bab22a099c7f41a8efa9a4c1af67b5 Mon Sep 17 00:00:00 2001 From: oddlama Date: Wed, 20 Sep 2023 13:14:15 +0200 Subject: [PATCH] fix: zsh autosuggestions previously broke history-beginning-search-*-end --- users/modules/config/shell/zsh/zshrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/users/modules/config/shell/zsh/zshrc b/users/modules/config/shell/zsh/zshrc index 0b4934f..ff3d496 100644 --- a/users/modules/config/shell/zsh/zshrc +++ b/users/modules/config/shell/zsh/zshrc @@ -1,5 +1,9 @@ autoload -U add-zle-hook-widget +# autosuggests otherwise breaks these widgets. +# See https://github.com/zsh-users/zsh-autosuggestions/issues/619 +ZSH_AUTOSUGGEST_CLEAR_WIDGETS+=(history-beginning-search-backward-end history-beginning-search-forward-end) + # -------------------------------------------------------------------------------- # FZF widgets