From 91b9f3d7866c8c27c693d65ae1f42609227b907b Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Wed, 3 Oct 2007 16:18:38 +0000 Subject: 23900: Better handling of NO_EQUALS in old completion --- Src/Zle/compctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Src/Zle/compctl.c') diff --git a/Src/Zle/compctl.c b/Src/Zle/compctl.c index 143c93682..57bfccd49 100644 --- a/Src/Zle/compctl.c +++ b/Src/Zle/compctl.c @@ -3501,7 +3501,7 @@ makecomplistflags(Compctl cc, char *s, int incmd, int compadd) p++; /* Get the pattern string. */ tokenize(g = dupstrpfx(g, p - g)); - if (*g == '=') + if (*g == '=' && isset(EQUALS)) *g = Equals; if (*g == '~') *g = Tilde; -- cgit 1.4.1