about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2000-06-28 09:04:02 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2000-06-28 09:04:02 +0000
commitf4a09871b005d1a65d69686bc901922b3dde9a37 (patch)
treeb33ec544cf411797e67b2f2420194174fb4214fe /Completion
parent0334b4df7cfd728cd8b9480872fbbfcb6029d1e6 (diff)
downloadzsh-f4a09871b005d1a65d69686bc901922b3dde9a37.tar.gz
zsh-f4a09871b005d1a65d69686bc901922b3dde9a37.tar.xz
zsh-f4a09871b005d1a65d69686bc901922b3dde9a37.zip
make _oldlist not use the dummy match added for the warning (12099)
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Core/_oldlist2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Core/_oldlist b/Completion/Core/_oldlist
index 991d01995..3ece0b7ca 100644
--- a/Completion/Core/_oldlist
+++ b/Completion/Core/_oldlist
@@ -1,6 +1,6 @@
 #autoload
 
-[[ _matcher_num -gt 1 ]] && return 1
+[[ _matcher_num -gt 1 || $_lastcomp[nmatches] -eq 0 ]] && return 1
 
 local list