1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-29 19:00:57 +02:00

Frank Terbeck: 27407: tmux switch-client completion

This commit is contained in:
Peter Stephenson 2009-11-15 17:44:33 +00:00
parent d1c26dca90
commit ee5574b063
2 changed files with 6 additions and 3 deletions

View file

@ -1,5 +1,8 @@
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:
Completion/Unix/Command/_env: argument problem.
@ -12341,5 +12344,5 @@
*****************************************************
* This is used by the shell to define $ZSH_PATCHLEVEL
* $Revision: 1.4812 $
* $Revision: 1.4813 $
*****************************************************

View file

@ -1002,8 +1002,8 @@ function _tmux-switch-client() {
[[ -n ${tmux_describe} ]] && print "Switch the client to another session" && return
local -a args
args=(
'-c[Choose a target client]:client:__tmux-key-clients'
'-t[Choose a target window]:window:__tmux-key-windows'
'-c[Choose a target client]:client:__tmux-clients'
'-t[Choose a target window]:window:__tmux-windows'
)
_arguments ${args}
}