mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-03 08:11:03 +02:00
Frank Terbeck: 27407: tmux switch-client completion
This commit is contained in:
parent
d1c26dca90
commit
ee5574b063
2 changed files with 6 additions and 3 deletions
|
@ -1,5 +1,8 @@
|
||||||
2009-11-15 Peter Stephenson <p.w.stephenson@ntlworld.com>
|
2009-11-15 Peter Stephenson <p.w.stephenson@ntlworld.com>
|
||||||
|
|
||||||
|
* Frank Terbeck: 27407: Completion/Unix/Command/_tmux:
|
||||||
|
switch-client subcommand.
|
||||||
|
|
||||||
* Benjamin R. Haskell: users/14565, 27399:
|
* Benjamin R. Haskell: users/14565, 27399:
|
||||||
Completion/Unix/Command/_env: argument problem.
|
Completion/Unix/Command/_env: argument problem.
|
||||||
|
|
||||||
|
@ -12341,5 +12344,5 @@
|
||||||
|
|
||||||
*****************************************************
|
*****************************************************
|
||||||
* This is used by the shell to define $ZSH_PATCHLEVEL
|
* This is used by the shell to define $ZSH_PATCHLEVEL
|
||||||
* $Revision: 1.4812 $
|
* $Revision: 1.4813 $
|
||||||
*****************************************************
|
*****************************************************
|
||||||
|
|
|
@ -1002,8 +1002,8 @@ function _tmux-switch-client() {
|
||||||
[[ -n ${tmux_describe} ]] && print "Switch the client to another session" && return
|
[[ -n ${tmux_describe} ]] && print "Switch the client to another session" && return
|
||||||
local -a args
|
local -a args
|
||||||
args=(
|
args=(
|
||||||
'-c[Choose a target client]:client:__tmux-key-clients'
|
'-c[Choose a target client]:client:__tmux-clients'
|
||||||
'-t[Choose a target window]:window:__tmux-key-windows'
|
'-t[Choose a target window]:window:__tmux-windows'
|
||||||
)
|
)
|
||||||
_arguments ${args}
|
_arguments ${args}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue