diff options
Diffstat (limited to 'Completion/X/_x_window')
-rw-r--r-- | Completion/X/_x_window | 4 |
1 files changed, 2 insertions, 2 deletions
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 |