mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-13 11:21:13 +02:00
28101: Fix window completion for tmux version 1.3 and newer
This commit is contained in:
parent
b116f33f9a
commit
efa5e34c6c
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2010-07-19 Frank Terbeck <ft@bewatermyfriend.org>
|
||||||
|
|
||||||
|
* 28101: Completion/Unix/Command/_tmux: Fix window completion
|
||||||
|
for tmux version 1.3 and newer.
|
||||||
|
|
||||||
2010-07-25 Peter Stephenson <p.w.stephenson@ntlworld.com>
|
2010-07-25 Peter Stephenson <p.w.stephenson@ntlworld.com>
|
||||||
|
|
||||||
* unposted: Config/version.mk: update to 4.3.10-dev-2.
|
* unposted: Config/version.mk: update to 4.3.10-dev-2.
|
||||||
|
@ -13413,5 +13418,5 @@
|
||||||
|
|
||||||
*****************************************************
|
*****************************************************
|
||||||
* This is used by the shell to define $ZSH_PATCHLEVEL
|
* This is used by the shell to define $ZSH_PATCHLEVEL
|
||||||
* $Revision: 1.5034 $
|
* $Revision: 1.5035 $
|
||||||
*****************************************************
|
*****************************************************
|
||||||
|
|
|
@ -1479,7 +1479,7 @@ function __tmux-windows() {
|
||||||
else
|
else
|
||||||
opts=( )
|
opts=( )
|
||||||
fi
|
fi
|
||||||
wins=( ${${(f)"$(command tmux list-windows "${opts[@]}")"}/:[ $'\t']##/:} )
|
wins=( ${${(M)${(f)"$(command tmux list-windows "${opts[@]}")"}:#<->*}/:[ $'\t']##/:} )
|
||||||
_describe -t windows 'windows' wins "$@"
|
_describe -t windows 'windows' wins "$@"
|
||||||
if [[ ${IPREFIX} != *: ]]; then
|
if [[ ${IPREFIX} != *: ]]; then
|
||||||
_wanted sessions expl 'sessions' __tmux-sessions -S:
|
_wanted sessions expl 'sessions' __tmux-sessions -S:
|
||||||
|
|
Loading…
Reference in a new issue