Mac终端颜色配置
1. 使用vi或者vim编辑/etc下的profle或者zprofile(我的Mac编辑profile没用,所以我这编辑zprofile,你可以试下你的哪个配置文件有用就编辑哪个…)
sudo vi /etc/profile
或者 sudo vi /etc/zprofile
或者…
2. 加入下面这段代码,已更改为类似Linux的颜色,个人觉得还好看
# 终端设置颜色
export CLICOLOR=1
#这个 LSCOLORS 设置文件夹,软链接,可执行文件...的字体颜色和背景颜色
export LSCOLORS=ExFxdgdhCxAhHdAhDxBhAb
export