add vmtm
This commit is contained in:
parent
f51896c031
commit
6e457c2e33
1 changed files with 13 additions and 0 deletions
13
local/bin/vmtm.sh
Executable file
13
local/bin/vmtm.sh
Executable file
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue