diff options
| author | Oliver Kiddle <opk@zsh.org> | 2021-09-28 23:40:38 +0200 |
|---|---|---|
| committer | Oliver Kiddle <opk@zsh.org> | 2021-09-28 23:40:38 +0200 |
| commit | 0a8d5cdbc860444c77de5880f2ff181a8ae33a83 (patch) | |
| tree | 7953129c63689c1f4442730b29422b22ab7d5f65 /Src/Zle/compcore.c | |
| parent | unposted: Fix typos (diff) | |
| download | zsh-0a8d5cdbc860444c77de5880f2ff181a8ae33a83.tar zsh-0a8d5cdbc860444c77de5880f2ff181a8ae33a83.tar.gz zsh-0a8d5cdbc860444c77de5880f2ff181a8ae33a83.tar.bz2 zsh-0a8d5cdbc860444c77de5880f2ff181a8ae33a83.tar.lz zsh-0a8d5cdbc860444c77de5880f2ff181a8ae33a83.tar.xz zsh-0a8d5cdbc860444c77de5880f2ff181a8ae33a83.tar.zst zsh-0a8d5cdbc860444c77de5880f2ff181a8ae33a83.zip | |
49450: don't display explanation with compadd -x if any of -D, -A or -O are also used
Diffstat (limited to 'Src/Zle/compcore.c')
| -rw-r--r-- | Src/Zle/compcore.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Zle/compcore.c b/Src/Zle/compcore.c index 131e86825..63136854e 100644 --- a/Src/Zle/compcore.c +++ b/Src/Zle/compcore.c @@ -2120,7 +2120,7 @@ addmatches(Cadata dat, char **argv) curexpl->always = !!dat->mesg; curexpl->count = curexpl->fcount = 0; curexpl->str = dupstring(dat->mesg ? dat->mesg : dat->exp); - if (dat->mesg) + if (dat->mesg && !dat->dpar && !dat->opar && !dat->apar) addexpl(1); } else curexpl = NULL; |
