about summary refs log tree commit diff
diff options
context:
space:
mode:
-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