bash: fix config in emacs’s ansi-term and GNU Screen