tty中文乱码 2020年9月12日 Coding代码堆 Linux 在.bashrc 或 .zshrc 加一句 if test "$(echo $TTY | grep tty)" != ""; then export LANG=C ;fi 当bash在tty中运行时设置为英文