mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-02 10:01:11 +02:00
14509: ZLS_COLOURS/ZLS_COLORS consistency
This commit is contained in:
parent
1d5fbf228d
commit
da9fa61207
4 changed files with 10 additions and 3 deletions
|
@ -1,3 +1,10 @@
|
|||
2001-05-28 Clint Adams <clint@zsh.org>
|
||||
|
||||
* 14509: Completion/Base/Core/_setup, Doc/Zsh/compsys.yo,
|
||||
Doc/Zsh/mod_complist.yo: clobber both ZLS_COLORS and ZLS_COLOURS
|
||||
during compinit, and slightly clarify this behavior in the
|
||||
documentation.
|
||||
|
||||
2001-05-28 Sven Wischnowsky <wischnow@zsh.org>
|
||||
|
||||
* 14507: Src/Zle/compresult.c: fix for cursor positioning with
|
||||
|
|
|
@ -20,7 +20,7 @@ if zstyle -a ":completion:${curcontext}:$1" list-colors val; then
|
|||
# ZLS_COLORS="$ZLS_COLORS$ZLS_COLOURS"
|
||||
|
||||
elif [[ "$1" = default ]]; then
|
||||
unset ZLS_COLORS
|
||||
unset ZLS_COLORS ZLS_COLOURS
|
||||
fi
|
||||
|
||||
if zstyle -t ":completion:${curcontext}:$1" list-packed; then
|
||||
|
|
|
@ -1483,7 +1483,7 @@ kindex(list-colors, completion style)
|
|||
item(tt(list-colors))(
|
||||
If the tt(zsh/complist) module is used, this style can be used to set
|
||||
color specifications as with the tt(ZLS_COLORS) and tt(ZLS_COLOURS)
|
||||
parameters (see
|
||||
parameters, which will not be honored under this completion system (see
|
||||
ifzman(the section `The zsh/complist Module' in zmanref(zshmodules))\
|
||||
ifnzman(noderef(The zsh/complist Module))\
|
||||
).
|
||||
|
|
|
@ -127,7 +127,7 @@ ifnzman(noderef(Other Functions))\
|
|||
`tt($colors[red])' to get the code for foreground color red and
|
||||
`tt($colors[bg-green])' for the code for background color green.
|
||||
|
||||
If the completion system based around shell functions is used, these
|
||||
If the completion system invoked by compinit is used, these
|
||||
parameters should not be set directly because the system controls them
|
||||
itself. Instead, the tt(list-colors) style should be used (see
|
||||
ifzman(the section `Completion System Configuration' in zmanref(zshcompsys))\
|
||||
|
|
Loading…
Reference in a new issue