about summary refs log tree commit diff
path: root/Src/Zle/complist.c
diff options
context:
space:
mode:
Diffstat (limited to 'Src/Zle/complist.c')
-rw-r--r--Src/Zle/complist.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Src/Zle/complist.c b/Src/Zle/complist.c
index ea11edcd5..356b26c2b 100644
--- a/Src/Zle/complist.c
+++ b/Src/Zle/complist.c
@@ -856,8 +856,7 @@ domenuselect(Hookdef dummy, Chdata dat)
 	mselect = -1;
 	inselect = 0;
 	if (acc) {
-	    menucmp = 0;
-	    lastambig = 0;
+	    menucmp = lastambig = hasoldlist = 0;
 	    do_single(*(minfo.cur));
 	}
 	if (!noselect) {