I'm new to tmux and would like to configure it such that when I run tmux
, my customized windows/panes are immediately accessible.
For example, here's a basic ~/.tmux.conf:
new -s main -n workspace
neww
When I run tmux, I get dumped into a plain old session. When I do a list-sessions
, I can see the workspace session specified in the conf file, but in order to use it, I have to switch to it.
How can I just go ahead and make the "workspace" session the session I'm dumped into when I open tmux so that I don't have to switch to it every time?