diff options
Diffstat (limited to 'Completion/X/_x_color')
-rw-r--r-- | Completion/X/_x_color | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/X/_x_color b/Completion/X/_x_color index 405347ef9..0cbcdf0eb 100644 --- a/Completion/X/_x_color +++ b/Completion/X/_x_color @@ -21,7 +21,7 @@ if (( ! $+_color_cache )); then file=( /usr/{lib,{{X11R6,openwin},local{,/X11{,R6}}}/lib}/X11/rgb.txt(N) ) (( $#file )) && - _color_cache=( "${(@)${(@f)$(< $file[1])}[2,-1]##* }" ) + _color_cache=( "${(@)${(@)${(@f)$(< $file[1])}[2,-1]##* }:#* *}" ) fi # Stupid default value. |