diff options
Diffstat (limited to 'Src/Zle')
-rw-r--r-- | Src/Zle/complete.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Src/Zle/complete.c b/Src/Zle/complete.c index 106e0ddab..f9a160bb7 100644 --- a/Src/Zle/complete.c +++ b/Src/Zle/complete.c @@ -616,14 +616,15 @@ bin_compadd(char *name, char **argv, char *ops, int func) } } } + + ca_args: + if (mstr && (match = parse_cmatcher(name, mstr)) == pcm_err) { zsfree(mstr); return 1; } zsfree(mstr); - ca_args: - if (!*argv && !dat.group && !dat.mesg && !(dat.aflags & (CAF_NOSORT|CAF_UNIQALL|CAF_UNIQCON|CAF_ALL))) return 1; |