summary refs log tree commit diff
diff options
context:
space:
mode:
-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