about summary refs log tree commit diff
path: root/Completion/X/_x_colormapid
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/X/_x_colormapid')
-rw-r--r--Completion/X/_x_colormapid16
1 files changed, 0 insertions, 16 deletions
diff --git a/Completion/X/_x_colormapid b/Completion/X/_x_colormapid
deleted file mode 100644
index 61b0a72f1..000000000
--- a/Completion/X/_x_colormapid
+++ /dev/null
@@ -1,16 +0,0 @@
-#autoload
-
-local expl list desc
-
-_tags colormapids || return 1
-
-list=(${(f)"$(xprop -root -f RGB_COLOR_MAP 32xcccccccxx ': $0\n'|awk -F'[ ():]' '/^[a-zA-Z_]+\(RGB_COLOR_MAP\)/ {print $5, "--", $1}')"})
-
-if zstyle -T ":completion:${curcontext}:colormap-id" verbose; then
-  desc=(-ld list)
-else
-  desc=()
-fi
-
-_wanted colormapids expl 'colormap id' \
-    compadd "$@" "$desc[@]" - "${(@)list%% *}"