设置终端和ls可配色
终端输入vim ~/.bash_profile
添加如下export
#enables colorin the terminal bash shell export export CLICOLOR=1 #setsup thecolor scheme for list export export LSCOLORS=gxfxcxdxbxegedabagacad #sets up theprompt color (currently a green similar to linux terminal) export PS1='[ 33[01;32m]u@h[ 33[00m]:[ 33[01;36m]w[ 33[00m]$ ' #enables colorfor iTerm export TERM=xterm-256color