Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: _tmux: fix helper function calls
- X-seq: zsh-workers 27407
- From: Frank Terbeck <ft@xxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: PATCH: _tmux: fix helper function calls
- Date: Sat, 14 Nov 2009 21:17:30 +0100
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
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