From 04bf39bf2eb70bc3284459407c56196da02f280c Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Wed, 28 Jun 2000 13:59:21 +0000 Subject: fix for list-colors handling (12107) --- Completion/Core/_setup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Completion') 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. -- cgit v1.2.3