archwiki on xterm says that TERM should NOT be set in bashrc/bash_profile. the terminal itself should report the correct TERM