-
I've tmux installed and want to launch it with every Termux session. A suggestion shared by the /r/termux moderator doesn't work (I've restarted; I don't see other relevant info).
see for Linux in general: https://unix.stackexchange.com/questions/43601/how-can-i-set-my-default-shell-to-start-up-tmux |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
If you want all Termux sessions to share single tmux instance use this instead:
Side effect of using single tmux instance: ctrl-d will terminate all Termux sessions if tmux had only one. |
Beta Was this translation helpful? Give feedback.
-
Sorry for confusing the shells. The top answer on unix.stackexchange.com is also functional (restart Termux after saving). |
Beta Was this translation helpful? Give feedback.
~/.zlogin
specific to zsh shell but default shell of Termux is bash. It uses~/.bash_profile
, in this file you can add:If you want all Termux sessions to share single tmux instance use this instead:
Side effect of using single tmux instance: ctrl-d will termin…