From 89810acc8f4343802e35c0910df9822b44b524b1 Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Mon, 2 Apr 2001 12:09:01 +0000 Subject: moved to Completion/X/Type/_x_cursor --- Completion/X/_x_cursor | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 Completion/X/_x_cursor (limited to 'Completion/X') 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 -- cgit 1.4.1