if [[ -z "$TMUX" ]] && [ "$SSH_TTY" != "" ]; then tmux attach-session -t ssh_tmux || tmux new-session -s ssh_tmux fi