about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2000-06-28 13:59:21 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2000-06-28 13:59:21 +0000
commit04bf39bf2eb70bc3284459407c56196da02f280c (patch)
tree18c45dfbaec9178ec66cc6a3b7ec0c643a7b697b /Completion
parent45a6914ed7b944a5e974399ca91a2b39e1727b26 (diff)
downloadzsh-04bf39bf2eb70bc3284459407c56196da02f280c.tar.gz
zsh-04bf39bf2eb70bc3284459407c56196da02f280c.tar.xz
zsh-04bf39bf2eb70bc3284459407c56196da02f280c.zip
fix for list-colors handling (12107)
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Core/_setup2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Core/_setup b/Completion/Core/_setup
index 1278fa1ba..11b618c49 100644
--- a/Completion/Core/_setup
+++ b/Completion/Core/_setup
@@ -10,7 +10,7 @@ if zstyle -a ":completion:${curcontext}:$1" list-colors val; then
     _comp_colors=( "$val[@]" )
   else
     _comp_colors=( "$_comp_colors[@]"
-                   "(${2})${(@)^val:#\(*\)*}" "${(M@)val:#\(*\)*}" )
+                   "(${2})${(@)^val:#(|\(*\)*)}" "${(M@)val:#\(*\)*}" )
   fi
 
 # Here is the problem mentioned in _main_complete.