diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-05-31 09:56:12 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-05-31 09:56:12 +0000 |
commit | 5a4253f42edc9258a9a5bad59b0fa2a7b4a46d50 (patch) | |
tree | 1c6cc1e77f12396acd87e448e777fbb5a143b03f /Src/Zle/complist.c | |
parent | fd25b24df6b4f098944c4994195d3894a27a8208 (diff) | |
download | zsh-5a4253f42edc9258a9a5bad59b0fa2a7b4a46d50.tar.gz zsh-5a4253f42edc9258a9a5bad59b0fa2a7b4a46d50.tar.xz zsh-5a4253f42edc9258a9a5bad59b0fa2a7b4a46d50.zip |
allow display of only messages via $compstate[list]=messages (11688)
Diffstat (limited to 'Src/Zle/complist.c')
-rw-r--r-- | Src/Zle/complist.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Src/Zle/complist.c b/Src/Zle/complist.c index bbf2b8d4a..2f7873d63 100644 --- a/Src/Zle/complist.c +++ b/Src/Zle/complist.c @@ -1026,7 +1026,9 @@ compprintlist(int showall) lastused = 1; } while (*e) { - if ((*e)->count) { + if ((*e)->count && + (!listdat.onlyexpl || + (listdat.onlyexpl & ((*e)->count > 0 ? 1 : 2)))) { if (pnl) { if (dolistnl(ml) && compprintnl(ml)) goto end; |