summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2001-04-02 12:09:34 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2001-04-02 12:09:34 +0000
commitab93fd7768a9dee2f5d8d31f132c01222fb2206b (patch)
tree0ff1d736df4d6f6a1e43936bad78bb97553739a4 /Completion
parentcdc88c7c0a64ccbdb19c8d92d5b95644a92f0a72 (diff)
downloadzsh-ab93fd7768a9dee2f5d8d31f132c01222fb2206b.tar.gz
zsh-ab93fd7768a9dee2f5d8d31f132c01222fb2206b.tar.xz
zsh-ab93fd7768a9dee2f5d8d31f132c01222fb2206b.zip
moved to Completion/X/Type/_x_extension
Diffstat (limited to 'Completion')
-rw-r--r--Completion/X/_x_extension19
1 files changed, 0 insertions, 19 deletions
diff --git a/Completion/X/_x_extension b/Completion/X/_x_extension
deleted file mode 100644
index d1a299e8b..000000000
--- a/Completion/X/_x_extension
+++ /dev/null
@@ -1,19 +0,0 @@
-#autoload
-
-local expl
-
-_tags extensions || return 1
-
-(( $+_xe_cache )) || _xe_cache=( "${(@)${(@f)$(xdpyinfo)}[(r)number of extensions:*,-1][2,(r)default screen number:*][1,-2]//[      ]}" )
-
-if [[ "$1" = -a ]]; then
-  shift
-
-  _wanted extensions expl 'X extensions' \
-      compadd "$@" -M 'm:{a-z}={A-Z} r:|-=* r:|=*' - all "$_xe_cache[@]"
-else
-  [[ "$1" = - ]] && shift
-
-  _wanted extensions expl 'X extensions' \
-      compadd "$@" -M 'm:{a-z}={A-Z} r:|-=* r:|=*' -a _xe_cache
-fi