mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-08 12:01:21 +02:00
zsh-workers:7564
This commit is contained in:
parent
39143d5c61
commit
a0de0207d0
3 changed files with 0 additions and 21 deletions
|
@ -1,15 +0,0 @@
|
|||
#autoload
|
||||
|
||||
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
|
||||
|
||||
compadd -M 'm:-=_ r:|_=*' - "$_cursor_cache[@]"
|
|
@ -1,6 +0,0 @@
|
|||
#compdef -P */X11/*
|
||||
|
||||
_arguments \
|
||||
'-display:display:_x_display' \
|
||||
'-geometry:geometry:_x_geometry' \
|
||||
"$@"
|
Loading…
Reference in a new issue