My current workflow is:
- CTRL+SHIFT+T to launch a new terminal window. That starts a new zsh terminal.
tmuxto start tmux.
How can I have tmux load by default with a new terminal window?
There are at least two ways:
I prefer the second way, because sometimes I need to launch a terminal without
|show 1 more comment|
Be careful with the
IIRC the problem occurred with non-interactive shells, so you'd better test for that.
Add "tmux" to your .zshrc file, which gets executed every time you start zsh. The quick way: