You can use the tmux completion extension to enable it as shown: $ cd bin To easily switch between different tmux sessions, you need to enable completion of sessions names. ![]() You can give a session a name of your choice.įor example if you are working with multiple data centers, you can name sessions like “datacenter1, datacenter2 etc.”. Tmux gives a default name for sessions, however, sometimes, this name isn’t descriptive enough. Then close and reopen the terminal to start using tmux by default, every time you open a terminal window. ![]() Tmux attach -t default || tmux new -s default To configure your terminal to automatically start tmux as default, add the following lines to your ~/.bash_profile shell startup file, just above your aliases section.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |