about summary refs log tree commit diff
path: root/Doc/Zsh/mod_complist.yo
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2000-09-05 08:35:48 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2000-09-05 08:35:48 +0000
commitf2d7665d982076584901afe0ca9fa9f0b0f2b5b0 (patch)
tree0b02f3966ed037e965a27f2082ca9f8f3cf13981 /Doc/Zsh/mod_complist.yo
parent79528535fb16eb1bad0872ccecb27e7ad2c5250d (diff)
downloadzsh-f2d7665d982076584901afe0ca9fa9f0b0f2b5b0.tar.gz
zsh-f2d7665d982076584901afe0ca9fa9f0b0f2b5b0.tar.xz
zsh-f2d7665d982076584901afe0ca9fa9f0b0f2b5b0.zip
change context for i-c-w styles, update docs (12744)
Diffstat (limited to 'Doc/Zsh/mod_complist.yo')
-rw-r--r--Doc/Zsh/mod_complist.yo9
1 files changed, 8 insertions, 1 deletions
diff --git a/Doc/Zsh/mod_complist.yo b/Doc/Zsh/mod_complist.yo
index ba5416d4f..cc2b22ce8 100644
--- a/Doc/Zsh/mod_complist.yo
+++ b/Doc/Zsh/mod_complist.yo
@@ -118,7 +118,14 @@ tt(no), and tt(rc) if tt(ec) is not defined.
 
 The default values are ISO 6429 (ANSI) compliant and can be used on
 vt100 compatible terminals such as tt(xterm)s.  On monochrome terminals
-the default values will have no visible effect.
+the default values will have no visible effect.  The tt(colors)
+function from the contribution can be used to get associative arrays
+containing the codes for ANSI terminals (see
+ifzman(the section `Other Functions' in zmanref(zshcontrib))\
+ifnzman(noderef(Other Functions))\
+).  For example, after loading tt(colors), one could use
+`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
 parameters should not be set directly because the system controls them