Fork me on GitHub

设置iterm可配色

设置终端和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='\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;36m\]\w\[\033[00m\]\$     '
#enables colorfor iTerm
export TERM=xterm-256color
 

posted on 2017-06-22 10:32  ScvQ  阅读(172)  评论(0编辑  收藏  举报

导航