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 ++-- Completion/X/_xmodmap | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'Completion/X') 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 diff --git a/Completion/X/_xmodmap b/Completion/X/_xmodmap index e1594b949..da0029a16 100644 --- a/Completion/X/_xmodmap +++ b/Completion/X/_xmodmap @@ -55,7 +55,7 @@ if [[ -n "$state" ]]; then pointer*) if compset -P '*=[ ]#'; then compset -P '*[ ]' - _description expl 'button code' + _description values expl 'button code' compadd "$expl[@]" -qS ' ' 1 2 3 4 5 default return else -- cgit 1.4.1