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 /Completion/Commands | |
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 'Completion/Commands')
-rw-r--r-- | Completion/Commands/_complete_debug | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Completion/Commands/_complete_debug b/Completion/Commands/_complete_debug index a876839c0..4f0ce7f27 100644 --- a/Completion/Commands/_complete_debug +++ b/Completion/Commands/_complete_debug @@ -20,7 +20,8 @@ unsetopt xtrace [[ -t 3 ]] && { print -sR "${VISUAL:-${EDITOR:-${PAGER:-more}}} $tmp ;: $w" _message -r "Trace output left in $tmp (up-history to view)" - compstate[list]='list force' + [[ $compstate[nmatches] -le 1 && $compstate[list] != *force* ]] && + compstate[list]='list force messages' exec 2>&3 3>&- } |