about summary refs log tree commit diff
path: root/Completion/Unix
diff options
context:
space:
mode:
authorFrank Terbeck <bewater@users.sourceforge.net>2010-07-26 13:56:30 +0000
committerFrank Terbeck <bewater@users.sourceforge.net>2010-07-26 13:56:30 +0000
commitefa5e34c6cc67184b6d866921c6ae8d24ebff92d (patch)
tree0ba976a77100929e2dece8c3008dca19d28a9e2c /Completion/Unix
parentb116f33f9a2b1768f47260c17393c837264c47c0 (diff)
downloadzsh-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')
-rw-r--r--Completion/Unix/Command/_tmux2
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: