newer tmux clients require manual screen size
This commit is contained in:
@@ -19,14 +19,14 @@ Arguments: hostnames, or username@hostnames
|
|||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
|
|
||||||
tmux new-session -d -s ssh$USER$$ "ssh $TMUXSSH_OPTIONS $1"
|
tmux new-session -d -x 2000 -y 2000 -s ssh$USER$$ "ssh $TMUXSSH_OPTIONS $1"
|
||||||
tmux set-window-option -t:0 synchronize-panes on
|
tmux set-window-option -t:0 synchronize-panes on
|
||||||
tmux bind-key m setw synchronize-panes
|
tmux bind-key m setw synchronize-panes
|
||||||
tmux rename-window 'SSH'
|
tmux rename-window 'SSH'
|
||||||
tmux set-option prefix2 C-n
|
tmux set-option prefix2 C-n
|
||||||
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
|
tmux select-layout tiled
|
||||||
done
|
done
|
||||||
|
|
||||||
tmux select-pane -t ssh$USER$$:SSH.0
|
tmux select-pane -t ssh$USER$$:SSH.0
|
||||||
|
|||||||
Reference in New Issue
Block a user