Hey so what if you wanted tmux or screen to pop open your session every time you log in, and then automatically log you out when you detach?!
That'd be pretty convenient.
Here add this to your ~/.bash_profile
:
[[ $TERM != "screen" ]] && tmux att && exit