$ cd /home/Lu/

Keep-learning Lu

01 May 2020

Change Language to English in Terminal

After I installed zsh in my Mac, I suddenly found that my git command became in Chinese. It can be easily changed back to English by the command below:

  • Normal Bash Command
echo "alias git='LANG=en_GB git'" >> ~/.bashrc
  • Installed zsh
echo "alias git='LANG=en_GB git'" >> ~/.zshrc

After modifying, reopen the Terminal. Now it works.

comments powered by Disqus