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;}
# tmux auto attach or create new session [ -z "$TMUX" ] && { tmux attach || exec tmux new-session && exit;}
No comments yet.