about summary refs log tree commit diff
path: root/Src/Zle
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2001-03-26 10:02:23 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2001-03-26 10:02:23 +0000
commit5687662ec1e4fab16e192613df4fbce12cbd0ef6 (patch)
treed21e0fb8b31a55083dcb08ab05b0bcc6d1452350 /Src/Zle
parentf7ca3b8e17b2c56f16765a5cbb36358276cc215e (diff)
downloadzsh-5687662ec1e4fab16e192613df4fbce12cbd0ef6.tar.gz
zsh-5687662ec1e4fab16e192613df4fbce12cbd0ef6.tar.xz
zsh-5687662ec1e4fab16e192613df4fbce12cbd0ef6.zip
handle colons in xor lists (13770)
Diffstat (limited to 'Src/Zle')
-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. */