From f844c87a4d676bcc8ad7ac24b5132d7aa5ccfeca Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Wed, 1 Dec 1999 15:29:41 +0000 Subject: zsh-workers/8840 --- Completion/X/_x_window | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Completion/X/_x_window') diff --git a/Completion/X/_x_window b/Completion/X/_x_window index bf0ad4d33..139210f32 100644 --- a/Completion/X/_x_window +++ b/Completion/X/_x_window @@ -9,11 +9,11 @@ list=( "${(@)${(M@)${(@f)$(xwininfo -root -tree)}:#[ ]#0x[0-9a-f]# \"*}##[ ]#} if [[ "$1" = -n ]]; then shift - _description expl 'window name' + _description windows expl 'window name' compadd "$@" "$expl[@]" -d list - "${(@)${(@)list#*\"}%%\"*}" else [[ "$1" = - ]] && shift - _description expl 'window ID' + _description windows expl 'window ID' compadd "$@" "$expl[@]" -d list - "${(@)list%% *}" fi -- cgit 1.4.1