diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2013-03-21 16:23:08 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2013-03-21 16:23:08 +0000 |
commit | b2ba0fbbf3999559e447b05c90629604756ca786 (patch) | |
tree | 55477ea997f04e6296f11c4fc3c4d1b882b95a73 | |
parent | 54ccf301e1a314e91d2066bc499ef384ceea4d28 (diff) |
Run session command before window in choose-tree.
-rw-r--r-- | usr.bin/tmux/cmd-choose-tree.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/tmux/cmd-choose-tree.c b/usr.bin/tmux/cmd-choose-tree.c index 894e99a7e50..f7c491f30d5 100644 --- a/usr.bin/tmux/cmd-choose-tree.c +++ b/usr.bin/tmux/cmd-choose-tree.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-choose-tree.c,v 1.18 2013/03/21 16:19:25 nicm Exp $ */ +/* $OpenBSD: cmd-choose-tree.c,v 1.19 2013/03/21 16:23:07 nicm Exp $ */ /* * Copyright (c) 2012 Thomas Adam <thomas@xteddy.org> @@ -203,8 +203,8 @@ windows_only: cur_win = idx_ses; } - xasprintf(&final_win_action, "%s ; %s", win_action, - wcd ? wcd->command : ""); + xasprintf(&final_win_action, "%s ; %s", + wcd ? wcd->command : "", win_action); if (win_ses != win_max) cur_win_template = final_win_template_middle; |