about summary refs log tree commit diff
path: root/Src/Zle/compctl.c
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2007-10-03 16:18:38 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2007-10-03 16:18:38 +0000
commit91b9f3d7866c8c27c693d65ae1f42609227b907b (patch)
tree5b9bee2cf48bb51da0cd1710b230117a38e1d310 /Src/Zle/compctl.c
parent0245917d65c5007d7e42745fe1c106ed2e8d32e3 (diff)
downloadzsh-91b9f3d7866c8c27c693d65ae1f42609227b907b.tar.gz
zsh-91b9f3d7866c8c27c693d65ae1f42609227b907b.tar.xz
zsh-91b9f3d7866c8c27c693d65ae1f42609227b907b.zip
23900: Better handling of NO_EQUALS in old completion
Diffstat (limited to 'Src/Zle/compctl.c')
-rw-r--r--Src/Zle/compctl.c2
1 files changed, 1 insertions, 1 deletions
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;