about summary refs log tree commit diff
path: root/Src/Zle/computil.c
diff options
context:
space:
mode:
Diffstat (limited to 'Src/Zle/computil.c')
-rw-r--r--Src/Zle/computil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Zle/computil.c b/Src/Zle/computil.c
index 4afc492dc..063ad4c2f 100644
--- a/Src/Zle/computil.c
+++ b/Src/Zle/computil.c
@@ -821,7 +821,7 @@ parse_cadef(char *nam, char **args)
 		    xor = (char **) zalloc(2 * sizeof(char *));
 		    xor[1] = NULL;
 		}
-		xor[xnum] = ztrdup(name);
+		xor[xnum] = ztrdup(rembslashcolon(name));
 	    }
 	    if (c == ':') {
 		/* There's at least one argument. */