Improve reliability of bash shell and prompt in tmux