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:10:22 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2001-04-02 12:10:22 +0000
commit7982dce342b271bf464669bd9b14178143f316fe (patch)
tree9b6d31f1f164461af00ac9a664198d184402a245 /Completion/X
parentfd976c7200db70b6da174a24f3b34fb597d224e4 (diff)
downloadzsh-7982dce342b271bf464669bd9b14178143f316fe.tar.gz
zsh-7982dce342b271bf464669bd9b14178143f316fe.tar.xz
zsh-7982dce342b271bf464669bd9b14178143f316fe.zip
moved to Completion/X/Type/_x_keysym
Diffstat (limited to 'Completion/X')
-rw-r--r--Completion/X/_x_keysym22
1 files changed, 0 insertions, 22 deletions
diff --git a/Completion/X/_x_keysym b/Completion/X/_x_keysym
deleted file mode 100644
index 39fbaebdd..000000000
--- a/Completion/X/_x_keysym
+++ /dev/null
@@ -1,22 +0,0 @@
-#autoload
-
-local expl
-
-_tags keysyms || return 1
-
-if (( ! $+_keysym_cache )); then
-  local file
-
-  file=( /usr/{include,{{X11R6,openwin},local{,/X11{,R6}}}/include}/X11/keysymdef.h(N) )
-
-  if (( $#file )); then
-    _keysym_cache=( "${(@)${(@)${(M@)${(@f)$(< $file[1])}:#\#define[ 	]##XK_*}#\#define[ 	]##XK_}%%[ 	]*}" )
-  else
-    _keysym_cache=( BackSpace Tab Linefeed Clear Return Pause Escape 
-                    Delete Left Right Up Down Space Home Begin End
-		    F{1,2,3,4,5,6,7,8,9,10,11,12} )
-  fi
-fi
-
-_wanted keysyms expl 'key symbol' \
-    compadd "$@" -M 'm:{a-z}={A-Z} r:|-=* r:|=*' -a _keysym_cache