Hacker News new | ask | show | jobs
by andreasha 1684 days 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;}