about summary refs log tree commit diff
path: root/Doc/Zsh/compsys.yo
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-12-03 08:55:11 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-12-03 08:55:11 +0000
commit0eebb6014cd13a1dd783b454cbeeff5e5918571e (patch)
treebc307a3b24c0e263b75cfb1eeb64a3cdc2b8da52 /Doc/Zsh/compsys.yo
parentaaf561724cb50d2f3533a51b2159d3428691171b (diff)
downloadzsh-0eebb6014cd13a1dd783b454cbeeff5e5918571e.tar.gz
zsh-0eebb6014cd13a1dd783b454cbeeff5e5918571e.tar.xz
zsh-0eebb6014cd13a1dd783b454cbeeff5e5918571e.zip
zsh-workers/8864
Diffstat (limited to 'Doc/Zsh/compsys.yo')
-rw-r--r--Doc/Zsh/compsys.yo21
1 files changed, 21 insertions, 0 deletions
diff --git a/Doc/Zsh/compsys.yo b/Doc/Zsh/compsys.yo
index fcfd77cc0..9517cc8d9 100644
--- a/Doc/Zsh/compsys.yo
+++ b/Doc/Zsh/compsys.yo
@@ -964,6 +964,27 @@ item(tt(list-arguments))(
 Like the tt(arguments) style, but used when calling the tt(ps) command 
 to generate the list to display.
 )
+item(tt(list-colors))(
+If the tt(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
+ifzman(the section `The complist Module' in zmanref(zshmodules))\
+ifnzman(noderef(The complist Module))\
+).
+
+If this style is set for the tt(default) tag, the strings in the value 
+are taken as specifications that are to be used everywhere. If it is
+set for other tags, the specifications are used only for matches of
+the type described by the tag.
+
+To be able to share the same specifications one has set up for the GNU
+version of the tt(ls) command one can use:
+
+example(compstyle '*:default' list-colors ${(s.:.)LS_COLORS})
+
+And to get the default colors (which are the same as for the GNU
+tt(ls) command) one should set the style to an empty value.
+)
 item(tt(local))(
 This style is used by completion functions which generate URLs as
 possible matches to add suitable matches when a URL points to a