diff options
| author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2001-03-26 10:02:23 +0000 |
|---|---|---|
| committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2001-03-26 10:02:23 +0000 |
| commit | 5687662ec1e4fab16e192613df4fbce12cbd0ef6 (patch) | |
| tree | d21e0fb8b31a55083dcb08ab05b0bcc6d1452350 | |
| parent | unset ZLS_COLORS if list-colors not set (13768) (diff) | |
| download | zsh-5687662ec1e4fab16e192613df4fbce12cbd0ef6.tar zsh-5687662ec1e4fab16e192613df4fbce12cbd0ef6.tar.gz zsh-5687662ec1e4fab16e192613df4fbce12cbd0ef6.tar.bz2 zsh-5687662ec1e4fab16e192613df4fbce12cbd0ef6.tar.lz zsh-5687662ec1e4fab16e192613df4fbce12cbd0ef6.tar.xz zsh-5687662ec1e4fab16e192613df4fbce12cbd0ef6.tar.zst zsh-5687662ec1e4fab16e192613df4fbce12cbd0ef6.zip | |
handle colons in xor lists (13770)
| -rw-r--r-- | ChangeLog | 2 | ||||
| -rw-r--r-- | Src/Zle/computil.c | 2 |
2 files changed, 3 insertions, 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 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. */ |
