Skip to content

Commit 0b099d4

Browse files
coloursofnoisemarlonrichert
authored andcommitted
Fix ignored widget pattern matching expansion
The GLOB_SUBST option (${~...}) needs to be set to interpret the expansion result as a pattern.
1 parent 65a0342 commit 0b099d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: Functions/Init/.autocomplete__async

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ ${0}:precmd() {
123123
'what-cursor-position'
124124
'where-is'
125125
)
126-
[[ ${LASTWIDGET##.} == (${(~j:|:)ignored}) ]] &&
126+
[[ ${LASTWIDGET##.} == (${(~j:|:)~ignored}) ]] &&
127127
return 0
128128

129129
[[ $KEYS == ([\ -+*]|$'\e\t') ]] &&

0 commit comments

Comments
 (0)