From 6a3af6b8d9a85d0f3a4405afca1f113b379efec1 Mon Sep 17 00:00:00 2001 From: Arnaud Venturi Date: Wed, 5 Jul 2023 19:15:50 +0200 Subject: [PATCH] Allow wrapping widgets whose name start with _ --- src/bind.zsh | 2 +- zsh-autosuggestions.zsh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bind.zsh b/src/bind.zsh index 1dde137..f012854 100644 --- a/src/bind.zsh +++ b/src/bind.zsh @@ -68,7 +68,7 @@ _zsh_autosuggest_bind_widgets() { ignore_widgets=( .\* - _\* + _zsh_autosuggest_\* ${_ZSH_AUTOSUGGEST_BUILTIN_ACTIONS/#/autosuggest-} $ZSH_AUTOSUGGEST_ORIGINAL_WIDGET_PREFIX\* $ZSH_AUTOSUGGEST_IGNORE_WIDGETS diff --git a/zsh-autosuggestions.zsh b/zsh-autosuggestions.zsh index b19cac7..3cdff1f 100644 --- a/zsh-autosuggestions.zsh +++ b/zsh-autosuggestions.zsh @@ -198,7 +198,7 @@ _zsh_autosuggest_bind_widgets() { ignore_widgets=( .\* - _\* + _zsh_autosuggest_\* ${_ZSH_AUTOSUGGEST_BUILTIN_ACTIONS/#/autosuggest-} $ZSH_AUTOSUGGEST_ORIGINAL_WIDGET_PREFIX\* $ZSH_AUTOSUGGEST_IGNORE_WIDGETS