Born for code
vi ~/.zshrc # 添加下面2行到文件最后 export LC_ALL=en_US.UTF-8 export LANG=en_US.UTF-8 # 然后执行 source ~/.zshrc
如果是bash,只需要把上面的~/.zshrc改为~/.bash_profile即可
~/.zshrc
~/.bash_profile
参考:CSDN博客 (opens new window)