Iterm2 颜色问题
在 Mac 上发现 iterm2 的一个问题是配置文件的颜色不适用,例如运行“ls -l”命令时您看不到目录或文件的不同颜色。
Solution:
# 1 - open ~/.bash_profile and add below two items:
export CLICOLOR=1
export TERM=xterm-256color
# 2 - go to: Preferences > Profiles > Terminal > Report Terminal Type
# 3 - set the type to xterm-256color
See Fix iTerm2 color scheme does not get applied for reference.