diff options
author | Frank Terbeck <bewater@users.sourceforge.net> | 2010-07-26 13:56:30 +0000 |
---|---|---|
committer | Frank Terbeck <bewater@users.sourceforge.net> | 2010-07-26 13:56:30 +0000 |
commit | efa5e34c6cc67184b6d866921c6ae8d24ebff92d (patch) | |
tree | 0ba976a77100929e2dece8c3008dca19d28a9e2c /Completion/Unix/Command/_tmux | |
parent | b116f33f9a2b1768f47260c17393c837264c47c0 (diff) | |
download | zsh-efa5e34c6cc67184b6d866921c6ae8d24ebff92d.tar.gz zsh-efa5e34c6cc67184b6d866921c6ae8d24ebff92d.tar.xz zsh-efa5e34c6cc67184b6d866921c6ae8d24ebff92d.zip |
28101: Fix window completion for tmux version 1.3 and newer
Diffstat (limited to 'Completion/Unix/Command/_tmux')
-rw-r--r-- | Completion/Unix/Command/_tmux | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_tmux b/Completion/Unix/Command/_tmux index f2507491f..e9977fbbd 100644 --- a/Completion/Unix/Command/_tmux +++ b/Completion/Unix/Command/_tmux @@ -1479,7 +1479,7 @@ function __tmux-windows() { else opts=( ) fi - wins=( ${${(f)"$(command tmux list-windows "${opts[@]}")"}/:[ $'\t']##/:} ) + wins=( ${${(M)${(f)"$(command tmux list-windows "${opts[@]}")"}:#<->*}/:[ $'\t']##/:} ) _describe -t windows 'windows' wins "$@" if [[ ${IPREFIX} != *: ]]; then _wanted sessions expl 'sessions' __tmux-sessions -S: |