Signup/Sign In
Ask Question
Not satisfied by the Answer? Still looking for a better solution?

How can I set my default shell to start up tmux

I would like my default bash shell to go straight into tmux instead of my always having to type tmux every time.
by

1 Answer

Bharatgxwzm
Start tmux on every shell login, from Arch wiki, seems to work. Simply add the following line of bash code to your .bashrc before your aliases; the code for other shells is very similar:
[[ $TERM != "screen" ]] && exec tmux

Login / Signup to Answer the Question.