From e6ee80809dafeaf9e24ae0b4f794b55feab0adf0 Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Mon, 2 Apr 2001 12:12:27 +0000 Subject: moved to Completion/X/Type/_x_window --- Completion/X/_x_window | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 Completion/X/_x_window (limited to 'Completion/X') 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 -- cgit 1.4.1