3 ms·
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 .ba
by gryfft 8y ago
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.