about summary refs log tree commit diff
path: root/Completion/User/_colors
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-08-12 22:59:04 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-08-12 22:59:04 +0000
commit8d1b4b1358db02d6c9426e4bb3553583e11bf112 (patch)
treea3095364536d55f8356ac99559e440cc91f33eb1 /Completion/User/_colors
parent5714953c514a5fea35dcd819caf1afef4d92a13b (diff)
downloadzsh-8d1b4b1358db02d6c9426e4bb3553583e11bf112.tar.gz
zsh-8d1b4b1358db02d6c9426e4bb3553583e11bf112.tar.xz
zsh-8d1b4b1358db02d6c9426e4bb3553583e11bf112.zip
Sync up with zsh-3_1_6-pws-1.
Diffstat (limited to 'Completion/User/_colors')
-rw-r--r--Completion/User/_colors24
1 files changed, 0 insertions, 24 deletions
diff --git a/Completion/User/_colors b/Completion/User/_colors
deleted file mode 100644
index 4e9ee2030..000000000
--- a/Completion/User/_colors
+++ /dev/null
@@ -1,24 +0,0 @@
-#autoload
-
-if (( ! $+_color_cache )); then
-  local file
-
-  # Cache of color names doesn't exist yet, create it.
-
-  if [[ -f /usr/lib/X11/rgb.txt ]]; then
-    file=/usr/lib/X11/rgb.txt
-  elif [[ -f /usr/local/lib/X11/rgb.txt ]]; then
-    file=/usr/local/lib/X11/rgb.txt
-  fi
-
-  if [[ -n "$file" ]]; then
-    _color_cache=( "${(@)${(@f)$(< $file)}[2,-1]##*		}" )
-  else
-
-    # Stupid default value.
-
-    _color_cache=(white black gray red blue green)
-  fi
-fi
-
-compadd - "$_color_cache[@]"