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.

mac