Add new ping_template command
This commit is contained in:
parent
c6bd010680
commit
021ab18f68
3 changed files with 17 additions and 31 deletions
17
ping_template.sh
Executable file
17
ping_template.sh
Executable file
|
|
@ -0,0 +1,17 @@
|
|||
#!/bin/sh
|
||||
|
||||
case "$1" in
|
||||
rm)
|
||||
tmux new-session -s ping_rm -d ping 2a0f:98c0:1::2
|
||||
tmux split-window -t ping_rm -h ping 2a0f:98c0:2::2
|
||||
tmux split-window -t ping_rm -h ping 2a0f:98c0:9::2
|
||||
|
||||
tmux split-window -t ping_rm -v ping 2a0f:98c0:9::3
|
||||
tmux select-pane -t ping_rm -L
|
||||
tmux split-window -t ping_rm -v ping 2a0f:98c0:2::3
|
||||
tmux select-pane -t ping_rm -L
|
||||
tmux split-window -t ping_rm -v ping 2a0f:98c0:1::3
|
||||
|
||||
tmux attach -t ping_rm
|
||||
;;
|
||||
esac
|
||||
Loading…
Add table
Add a link
Reference in a new issue