only run tmux if a TTY was alocated