I would like my default bash shell to go straight into tmux instead of my always having to type tmux every time.
|
This seems to work... https://wiki.archlinux.org/index.php/Tmux#Start_tmux_on_every_shell_login Simply add the following line of bash code to your .bashrc before your aliases; the code for other shells is very similar:
|
|||||||
|
|
There is command |
|||
|
|
As Mikel already stated in his comment to have tmux as your login shell can have side effects. But you can make However, no guarantee that this won't cause problems! What may work better is to NOT do anything that requries root privileges. I would try to create a file in my home directoy named .bash_login and start tmux from within that file: `echo "tmux" >~/.bash_login. This should work, but you have to try and find our yourself, b/c the bash documentation is not very exact about what file is read and executed when. |
|||
|