about summary refs log tree commit diff
path: root/Completion/X
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2001-04-02 12:09:01 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2001-04-02 12:09:01 +0000
commit89810acc8f4343802e35c0910df9822b44b524b1 (patch)
treeef49128ac10b1a29db81e0e42c98527d17cedb5c /Completion/X
parent40d7552724dfceed337e542eaa5f2cca875a6d08 (diff)
downloadzsh-89810acc8f4343802e35c0910df9822b44b524b1.tar.gz
zsh-89810acc8f4343802e35c0910df9822b44b524b1.tar.xz
zsh-89810acc8f4343802e35c0910df9822b44b524b1.zip
moved to Completion/X/Type/_x_cursor
Diffstat (limited to 'Completion/X')
-rw-r--r--Completion/X/_x_cursor18
1 files changed, 0 insertions, 18 deletions
diff --git a/Completion/X/_x_cursor b/Completion/X/_x_cursor
deleted file mode 100644
index 5346710d7..000000000
--- a/Completion/X/_x_cursor
+++ /dev/null
@@ -1,18 +0,0 @@
-#autoload
-
-local expl
-
-if (( ! $+_cursor_cache )); then
-  local file
-
-  file=( /usr/{include,{{X11R6,openwin},local{,/X11{,R6}}}/include}/X11/cursorfont.h(N) )
-
-  if (( $#file )); then
-    _cursor_cache=( "${(@)${(@)${(M@)${(@f)$(< $file[1])}:#*XC_*}[2,-1]#* XC_}% *}" )
-  else
-    _cursor_cache=( X_cursor )
-  fi
-fi
-
-_wanted cursors expl 'cursor name' \
-    compadd "$@" -M 'm:-=_ r:|_=*' -a _cursor_cache