From 6e457c2e33f9f111903a4232450e0fd8218e3a9c Mon Sep 17 00:00:00 2001 From: Hunter Haugen Date: Thu, 25 Sep 2025 08:13:13 -0700 Subject: [PATCH] add vmtm --- local/bin/vmtm.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 local/bin/vmtm.sh diff --git a/local/bin/vmtm.sh b/local/bin/vmtm.sh new file mode 100755 index 0000000..070829d --- /dev/null +++ b/local/bin/vmtm.sh @@ -0,0 +1,13 @@ +#!/usr/bin/env bash + +SESSION="vm" + +tmux new-session -d -s $SESSION -n root "sudo su -" +tmux new-window -t $SESSION:1 -n d-c -c ~/Documents/work/git/backend +tmux new-window -t $SESSION:2 -n backend -c ~/Documents/work/git/backend +tmux new-window -t $SESSION:3 -n frontend -c ~/Documents/work/git/frontend +tmux new-window -t $SESSION:4 -n k3d -c ~/Documents/work/git/installation/k3d +tmux new-window -t $SESSION:5 -n installation -c ~/Documents/work/git/installation + +tmux select-window -t $SESSION:0 +tmux attach-session -t $SESSION