2 ms·
you can auto re-attach the tmux session or create new one with something like this in your bash_alias or bashrc. # tmux auto attach or create new session [ -z
by andreasha 5y ago
you can auto re-attach the tmux session or create new one with something like this in your bash_alias or bashrc.
# tmux auto attach or create new session
[ -z "$TMUX" ] && { tmux attach || exec tmux new-session && exit;}