about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2001-04-02 12:12:27 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2001-04-02 12:12:27 +0000
commite6ee80809dafeaf9e24ae0b4f794b55feab0adf0 (patch)
treefab6e4d63fb35a34f5512422ad1eb1147c941804
parent58151b5eb38eabfaddd24e170a833b384f2e0ea3 (diff)
downloadzsh-e6ee80809dafeaf9e24ae0b4f794b55feab0adf0.tar.gz
zsh-e6ee80809dafeaf9e24ae0b4f794b55feab0adf0.tar.xz
zsh-e6ee80809dafeaf9e24ae0b4f794b55feab0adf0.zip
moved to Completion/X/Type/_x_window
-rw-r--r--Completion/X/_x_window18
1 files changed, 0 insertions, 18 deletions
diff --git a/Completion/X/_x_window b/Completion/X/_x_window
deleted file mode 100644
index 24d6048a7..000000000
--- a/Completion/X/_x_window
+++ /dev/null
@@ -1,18 +0,0 @@
-#autoload
-
-local list expl
-
-_tags windows || return 1
-
-list=( "${(@)${(M@)${(@f)$(_call windows xwininfo -root -tree)}:#[ 	]#0x[0-9a-f]# \"*}##[ 	]#}" )
-
-if [[ "$1" = -n ]]; then
-  shift
-
-  _wanted windows expl 'window name' \
-      compadd "$@" -d list - "${(@)${(@)list#*\"}%%\"*}"
-else
-  [[ "$1" = - ]] && shift
-
-  _wanted windows expl 'window ID' compadd "$@" -d list - "${(@)list%% *}"
-fi