News for hackers. Stuff that matters.
Re:Getting started with Tmux by gryfft on Sunday September 16, 2018 @11:30AM (#17999373)
I like to be able to attach to my customary sessions quickly, or reinstantiate them quickly in case of reboot etc.

I use something like the following in my .bashrc:

  alias f='tmux attach -dt f || tmux new-session -s f'
That way I can recreate or attach to my usual session(s) without even taking my hands off home row.

There are no comments on this comment yet.