Skip to content

Commit

Permalink
Fix empty strings are not checked whether match ignored-input
Browse files Browse the repository at this point in the history
  • Loading branch information
loichyan authored and marlonrichert committed Apr 26, 2023
1 parent 63c22b1 commit 22f3e39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/.autocomplete.async
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ log_functions+=( .autocomplete.async.complete.fd-widget.inner )
builtin zstyle -s ":autocomplete:${curcontext}:" ignored-input ignored

if (( ${#words[@]} == 1 && ${#words[CURRENT]} < min_input )) ||
[[ -n $words[CURRENT] && $words[CURRENT] == $~ignored ]]; then
[[ -n $ignored && $words[CURRENT] == $~ignored ]]; then
compstate[list]=
false
else
Expand Down

0 comments on commit 22f3e39

Please sign in to comment.