about summary refs log tree commit diff
path: root/Completion/X/_x_color
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-09-21 01:34:53 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-09-21 01:34:53 +0000
commitd18c1b3ac870ae682e5abf51b04e6ed8c9a4bd2d (patch)
treeab1471c0973d6b537cc058c428b0d8b91a6cb91c /Completion/X/_x_color
parent0abdec4fa34283821f14548c0aa97e52b5c8a0eb (diff)
downloadzsh-d18c1b3ac870ae682e5abf51b04e6ed8c9a4bd2d.tar.gz
zsh-d18c1b3ac870ae682e5abf51b04e6ed8c9a4bd2d.tar.xz
zsh-d18c1b3ac870ae682e5abf51b04e6ed8c9a4bd2d.zip
zsh-workers/7949
Diffstat (limited to 'Completion/X/_x_color')
-rw-r--r--Completion/X/_x_color2
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.