about summary refs log tree commit diff
path: root/Src/Zle/compcore.c
diff options
context:
space:
mode:
authorAndrey Borzenkov <bor@users.sourceforge.net>2009-01-09 20:54:35 +0000
committerAndrey Borzenkov <bor@users.sourceforge.net>2009-01-09 20:54:35 +0000
commit1a43616975310a638f76ba4f5e73757e4b071a1f (patch)
tree6f9fb10b571018ab8e3ba3d3af5286a18c2f098d /Src/Zle/compcore.c
parent369a03d09f1661ea92509dde0e1c45fcc9620adb (diff)
downloadzsh-1a43616975310a638f76ba4f5e73757e4b071a1f.tar.gz
zsh-1a43616975310a638f76ba4f5e73757e4b071a1f.tar.xz
zsh-1a43616975310a638f76ba4f5e73757e4b071a1f.zip
26270: allow accept-and-menu-complete work with _vallues as well
Diffstat (limited to 'Src/Zle/compcore.c')
-rw-r--r--Src/Zle/compcore.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Src/Zle/compcore.c b/Src/Zle/compcore.c
index 529537d37..40c5f19ca 100644
--- a/Src/Zle/compcore.c
+++ b/Src/Zle/compcore.c
@@ -325,6 +325,7 @@ do_completion(UNUSED(Hookdef dummy), Compldat dat)
     comppatinsert = ztrdup("menu");
     forcelist = 0;
     haspattern = 0;
+    complistinword = 0;
     complistmax = getiparam("LISTMAX");
     zsfree(complastprompt);
     complastprompt = ztrdup(((isset(ALWAYSLASTPROMPT) && zmult == 1) ||