Add new ping_template command

This commit is contained in:
Nico Schottelius 2023-02-13 17:24:47 +01:00
commit 021ab18f68
3 changed files with 17 additions and 31 deletions

17
ping_template.sh Executable file
View 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