summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
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.