Tmux>fish

iamguruman

New Member
Credits
11
Hello

1) chsh -s /usr/bin/tmux
after this I will start login with tmux
2) after this i want "automatic" open fish shell

how can I make it?
 


f33dm3bits

Gold Member
Gold Supporter
Credits
16,567
Tmux isn't a shell but a terminal multiplexer so if you set tmux as shell for your user you won't be able to login into your system next time you try to login. You run tmux from the command-line and then from there you can use tmux to manage different shell sessions, you can however set fish as a shell because that is a a shell. If you want tmux to automatically create a new workspace you could try adding it to your ~/.bash_profile or the equivalent of whatever shell you are using and it would be useful to add a check to see if there is already a workspace running so that it doesn't try to create a new workspace every time you open a new terminal window.
 
Last edited:
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Members online


Latest posts

Top