File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -9,11 +9,11 @@ _argc_completer() {
9
9
done < <( argc --argc-compgen zsh $' \0' $new_words 2> /dev/null)
10
10
for candidate in ${candidates[@]} ; do
11
11
IFS=$' \t ' read -r value display color_key color <<< " $candidate"
12
- colors=" $colors :=(#b)($color_key )( * -- *)=0=$color =2;37 :=(#b)($color_key )() =0=$color =2;37 "
12
+ colors=" $colors :=(#b)($color_key )([ ]## -- *)=0=$color =2:=(#b)($color_key )=0=$color "
13
13
values+=( " ${value} " )
14
14
displays+=( " $display " )
15
15
done
16
- zstyle " :completion:${curcontext} :*" list-colors " ${colors: 1} :=(#b)(-- *)=0=2;37:=(#b)(--[A-Za-z0-9_-]#)( * -- *)=0==2;37 "
16
+ zstyle " :completion:${curcontext} :*" list-colors " ${colors: 1} :=(#b)(-- *)=0=2"
17
17
_describe " " displays values -Q -S ' ' -o nosort
18
18
}
19
19
You can’t perform that action at this time.
0 commit comments