Fix tmux auto attach.