From efa5e34c6cc67184b6d866921c6ae8d24ebff92d Mon Sep 17 00:00:00 2001 From: Frank Terbeck Date: Mon, 26 Jul 2010 13:56:30 +0000 Subject: 28101: Fix window completion for tmux version 1.3 and newer --- Completion/Unix/Command/_tmux | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Completion') 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: -- cgit 1.4.1