blob: 9f81bd30f0457ecfa6be1a04671c57872e2f651b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
tmux new-session -d -s userone-internal
tmux new-session -d -s usertwo-internal
tmux new-session -d -s userone
sleep 0.05
tmux send-keys -t userone "TMUX=''" C-m
tmux send-keys -t userone "tmux attach -t usertwo-internal" C-m
tmux split-pane -t userone -h
sleep 0.05
tmux send-keys -t userone "TMUX=''" C-m
tmux send-keys -t userone "tmux attach -t userone-internal" C-m
tmux new-session -d -s usertwo
sleep 0.05
tmux send-keys -t usertwo "TMUX=''" C-m
tmux send-keys -t usertwo "tmux attach -t userone-internal" C-m
tmux split-pane -t usertwo -h
sleep 0.05
tmux send-keys -t usertwo "TMUX=''" C-m
tmux send-keys -t usertwo "tmux attach -t usertwo-internal" C-m
|