summaryrefslogtreecommitdiffstats
path: root/Completion/Core
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/Core
parentmake a-a-i-n-h in menu selection work with one match; better undo behaviour f... (diff)
downloadzsh-f4a09871b005d1a65d69686bc901922b3dde9a37.tar
zsh-f4a09871b005d1a65d69686bc901922b3dde9a37.tar.gz
zsh-f4a09871b005d1a65d69686bc901922b3dde9a37.tar.bz2
zsh-f4a09871b005d1a65d69686bc901922b3dde9a37.tar.lz
zsh-f4a09871b005d1a65d69686bc901922b3dde9a37.tar.xz
zsh-f4a09871b005d1a65d69686bc901922b3dde9a37.tar.zst
zsh-f4a09871b005d1a65d69686bc901922b3dde9a37.zip
make _oldlist not use the dummy match added for the warning (12099)
Diffstat (limited to 'Completion/Core')
-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