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.