summaryrefslogtreecommitdiff
path: root/Src/Zle/compctl.c
diff options
context:
space:
mode:
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;