If you use new-session in your tmux.conf you should always just attatch (tmux a) rather than starting a new session (tmux with no arguments.) Otherwise that won't work. That may be part of what Phillip is running into. I used to use tmux this way and looking through my old wm configs that seems to be what I was doing.
--Stephen On Sun, Mar 09, 2025 at 08:35:16AM +0100, Rene Kita wrote: > On Sat, Mar 08, 2025 at 10:10:59PM -0800, Philip Guenther wrote: > > So, what do I need to put in a .tmux.conf to have tmux start up and > > create a set of windows? Ideally it would leave me in the first but > > that would be gravy. > > Here is the template which I use for my IRC session. It should be pretty > close to what you want to achieve: > > https://git.causal.agency/catgirl/tree/scripts/chat.tmux.conf > > Important parts are line 5 and lines 62-64. >