配色方案
一、Iterm2 设置Color
[Preferences]->[Profiles]->[Colors]
=》Brighten bold text去掉;选择solarized
=》选择xterm-256color
二、Iterm2 Shell 环境设置
$ vim .zshrc
#enables colorin the terminal bash shell export
export CLICOLOR=1
#enables colorfor iTerm
export TERM=xterm-256color
三、Ubuntu Shell 环境设置
$ vim .bash_profile
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;35;01m\]\u\[\033[00;00;01m\]@\[\033[01;35;01m\]\h\[\033[00;31;01m\]:\[\033[00;00;01m\]\w \[\033[01;32;01m\]\$ \[\033[01;01;01m\]'
export TERM=xterm-256color
四、vim solarized
$ cd ~/.vim/bundle
$ git clone https://github.com/altercation/vim-colors-solarized.git
$ cp solarized.vim ~/.vim/colors/
$ vim ~/.vimrc
" 配色方案
":set t_Co=256
":let g:solarized_termcolors=256
:set background=dark " 背景黑色
:colorscheme solarized
if exists('$TMUX')
set term=screen-256color
endif