1. 安装Term2
2. 下载Term2主题包 https://github.com/baskerville/iTerm-2-Color-Themes
3. 打开Terminal输入:vi ~/.bash_profile ,然后加入以下代码
#enables colorin the terminal bash shell export
CLICOLOR=1
#sets up thecolor scheme for list export
LSCOLORS=gxfxcxdxbxegedabagacad
#sets up theprompt color (currently a green similar to linux terminal)
exportPS1='\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;36m\]\w\[\033[00m\]\$ '
#enables colorfor iTerm
exportTERM=xterm-color