layout needed every cycle

This commit is contained in:
Ville Rantanen
2016-07-21 12:09:31 +03:00
parent c31e3c99b3
commit c47d16c90a

View File

@@ -25,9 +25,9 @@ tmux bind-key m setw synchronize-panes
tmux rename-window 'SSH' tmux rename-window 'SSH'
for (( i=2; i<=$#; i++ )) for (( i=2; i<=$#; i++ ))
do tmux split-window -h "ssh $TMUXSSH_OPTIONS ${!i}" do tmux split-window -h "ssh $TMUXSSH_OPTIONS ${!i}"
tmux select-layout main-vertical
done done
tmux select-layout main-vertical
tmux select-pane -t ssh$USER$$:SSH.0 tmux select-pane -t ssh$USER$$:SSH.0
tmux -2 attach-session -t ssh$USER$$ tmux -2 attach-session -t ssh$USER$$