about summary refs log tree commit diff
path: root/Src/Zle/complete.c
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2015-07-06 22:40:47 +0200
committerOliver Kiddle <opk@zsh.org>2015-07-06 22:40:47 +0200
commit68a5a5f453d9534748e12d268718a97b7e84c31b (patch)
tree887b02090e498e6097368273ae61723ee790e7e3 /Src/Zle/complete.c
parent0b946c18eac9b1be3424ecaa037a837af59a920c (diff)
downloadzsh-68a5a5f453d9534748e12d268718a97b7e84c31b.tar.gz
zsh-68a5a5f453d9534748e12d268718a97b7e84c31b.tar.xz
zsh-68a5a5f453d9534748e12d268718a97b7e84c31b.zip
35704: compadd -E 0 should imply -J and -2
Diffstat (limited to 'Src/Zle/complete.c')
-rw-r--r--Src/Zle/complete.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Zle/complete.c b/Src/Zle/complete.c
index 471c9f491..30173927d 100644
--- a/Src/Zle/complete.c
+++ b/Src/Zle/complete.c
@@ -540,7 +540,7 @@ bin_compadd(char *name, char **argv, UNUSED(Options ops), UNUSED(int func))
     dat.match = NULL;
     dat.flags = 0;
     dat.aflags = CAF_MATCH;
-    dat.dummies = 0;
+    dat.dummies = -1;
 
     for (; *argv && **argv ==  '-'; argv++) {
 	if (!(*argv)[1]) {