about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2009-11-15 17:44:33 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2009-11-15 17:44:33 +0000
commitee5574b06309e80ce8e697fffb65fc6725e90e57 (patch)
tree06dad6e7f4b82fcf8c515ca3ccfd42b3203ba6a4
parentd1c26dca908ab2dfeae382969994e3301d8d5325 (diff)
downloadzsh-ee5574b06309e80ce8e697fffb65fc6725e90e57.tar.gz
zsh-ee5574b06309e80ce8e697fffb65fc6725e90e57.tar.xz
zsh-ee5574b06309e80ce8e697fffb65fc6725e90e57.zip
Frank Terbeck: 27407: tmux switch-client completion
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Command/_tmux4
2 files changed, 6 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 9fa62449c..aa23fd863 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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 $
 *****************************************************
diff --git a/Completion/Unix/Command/_tmux b/Completion/Unix/Command/_tmux
index 0eef68382..10a1eb223 100644
--- a/Completion/Unix/Command/_tmux
+++ b/Completion/Unix/Command/_tmux
@@ -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}
 }