Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: _tmux: fix helper function calls



I've just been informed that the switch-client subcommand completion
of _tmux is broken. This fixes it.

Regards, Frank
---
 Completion/Unix/Command/_tmux |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Completion/Unix/Command/_tmux b/Completion/Unix/Command/_tmux
index 0eef683..10a1eb2 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}
 }
-- 
1.6.5.rc2



Messages sorted by: Reverse Date, Date, Thread, Author