解决 perl: warning: Setting locale failed.
mac 升级到 High Sierra后,在terminal执行git 命令提示 perl: warning: Setting locale failed.
原因是因为语言设置的问题
vim ~/.zshrc
# Setting for the new UTF-8 terminal support in Lion
LC_CTYPE=en_US.UTF-8
LC_ALL=en_US.UTF-8
source ~/.zshrc
参考