set tabname before attempting to attach to tmux