Hello,
zsh -f
autoload -U compinit; compinit
_zzq() { compset -q; _files }
compdef _zzq zzq
touch zzfile
zzq "cat \"\" zz<TAB>
gives zzq "cat \"\" zzfilezz (expected zzq "cat \"\" zzfile ).
Also zzq "grep \"a b\" zz<TAB> gives ... zzfilezz . It is fine
without the escaped quotes ( zzq "cat a zz<TAB> gives zzfile) and in
single quotes ( zzq 'cat "" zz<TAB> gives zzfile).
Seen on 5.9.2 (Debian unstable), 5.9 (Debian 12) and 5.0.2 (CentOS 7).
I am not subscribed to the list; please Cc me on replies.
Thanks,
Best regards
Yufei