exit tmux and parent shell with "exit"; exit only tmux with "exittmux"
if unattached tmux sessions are running, attach to the first one.
update check for local bash profile to use $HOME instead of ~