John-Goff

John-Goff

I have not no, but that’s a decent idea so I might. In the meantime it’s really super barebones, just calling tmux new-session and then tmux split-window a few times. At the end make sure you call tmux attach-session to connect to the session you just created. Whole thing is under 50 lines with the majority being setting up env vars to pass to the various servers depending on some flags you can give. Really like 6 lines of code are directly dealing with tmux and I’ve covered them all. You can read the tmux man pages for more info I’m sure, that’s where I got most all of this.

2
Post #11
— All posts loaded —