mac下 iterm2配色方案

修改.bash_profile

加入下面这段话

#enables colorin the terminal bash shell export
export CLICOLOR=1

#sets up 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-color

mac 注销

设置iterm

preference->profiles->Terminal->xterm-new

Colors菜单,选择LoadPresents,import就可以选择下载好的配色方案了

配色方案

https://github.com/mbadolato/iTerm2-Color-Schemes

你可能感兴趣的:(mac,文本编辑器)