diff options
author | Greg Lutostanski <greg.lutostanski@calxeda.com> | 2013-10-07 16:16:47 -0500 |
---|---|---|
committer | Greg Lutostanski <greg.lutostanski@calxeda.com> | 2013-10-07 16:17:33 -0500 |
commit | d11c20d6eb6bdfb8c788731a1576ffa2721a884e (patch) | |
tree | ac11f5f5c186f5b7d558970d80c12fdaeeaf9a7f /scripts/cxmux | |
parent | b15d1fda9feedb400ded3b8775c7e2b53ced42e3 (diff) | |
download | cxmanage-d11c20d6eb6bdfb8c788731a1576ffa2721a884e.tar.gz |
CXMAN-230: Allow cxmux to work with tmux v1.7 & install
(remove -l) and package for command install to the PATH.
Diffstat (limited to 'scripts/cxmux')
-rwxr-xr-x | scripts/cxmux | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/scripts/cxmux b/scripts/cxmux index 17150c2..5ab9090 100755 --- a/scripts/cxmux +++ b/scripts/cxmux @@ -32,16 +32,15 @@ def main(): for i, ip in enumerate(ips): if i == 0: os.system('tmux new-window -n "%s"' % name) - os.system('tmux send-keys -l "%s %s"' % (command, ip)) + os.system('tmux send-keys "%s %s"' % (command, ip)) os.system('tmux send-keys Enter') continue os.system('tmux split-window -h') - os.system('tmux send-keys -l "%s %s"' % (command, ip)) + os.system('tmux send-keys "%s %s"' % (command, ip)) os.system('tmux send-keys Enter') - os.system('tmux select-layout -t "%s" even-horizontal >/dev/null' % name) + os.system('tmux select-layout -t "%s" tiled >/dev/null' % name) - os.system('tmux select-layout -t "%s" tiled >/dev/null' % name) if options.sync: os.system('tmux set-window-option -t "%s" synchronize-panes on >/dev/null' % name) |