From 6ed82d1e4575621f49fb0c9e38fc162a9ebef00d Mon Sep 17 00:00:00 2001 From: coloursofnoise Date: Tue, 24 Sep 2024 16:43:24 -0700 Subject: [PATCH] Fix ignored widget pattern matching expansion The GLOB_SUBST option (${~...}) needs to be set to interpret the expansion result as a pattern. --- Functions/Init/.autocomplete__async | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Functions/Init/.autocomplete__async b/Functions/Init/.autocomplete__async index ebb4530..05bfd88 100644 --- a/Functions/Init/.autocomplete__async +++ b/Functions/Init/.autocomplete__async @@ -123,7 +123,7 @@ ${0}:precmd() { 'what-cursor-position' 'where-is' ) - [[ ${LASTWIDGET##.} == (${(~j:|:)ignored}) ]] && + [[ ${LASTWIDGET##.} == (${(~j:|:)~ignored}) ]] && return 0 [[ $KEYS == ([\ -+*]|$'\e\t') ]] &&