November 18, 2024
Automatically start tmux in bash
I have become accustomed to having tmux running, which allows me to keep a single terminal open on my screen and create as many sub-terminals as I need in my work.
However, I don’t want to have to remember to start tmux every time I start a terminal, and often I forget until the first time I try to split the pane or create a new tmux window.
I also am in the habit of exiting shells manually (rather that close the whole terminal window), but if I start tmux manually, I have to exit both tmux and the shell itself, which gets tiresome.
Read more