diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Src/Zle/compcore.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index b1f295bd7..a84a66882 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2021-09-28 Oliver Kiddle <opk@zsh.org> + + * 49450: Src/Zle/compcore.c: don't display explanation with + compadd -x if any of -D, -A or -O are also used + 2021-09-26 Daniel Shahaf <d.s@daniel.shahaf.name> * unposted: Doc/Zsh/contrib.yo, Doc/Zsh/mod_curses.yo, 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; |