mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-04 20:40:57 +02:00
handle colons in xor lists (13770)
This commit is contained in:
parent
f7ca3b8e17
commit
5687662ec1
2 changed files with 3 additions and 1 deletions
|
@ -1,5 +1,7 @@
|
|||
2001-03-26 Sven Wischnowsky <wischnow@zsh.org>
|
||||
|
||||
* 13770: Src/Zle/computil.c: handle colons in xor lists
|
||||
|
||||
* 13768: Completion/Core/_main_complete,
|
||||
Completion/Core/_setup: unset ZLS_COLORS if list-colors not
|
||||
set
|
||||
|
|
|
@ -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. */
|
||||
|
|
Loading…
Reference in a new issue