shell的默认配色
mac,需要用iTerm2, 选自带的solarized即可
debian ,选择自带的 solarized dark
vim配色
git clone git://github.com/altercation/solarized.git mkdir -p ~/.vim/colors cp solarized/vim-colors-solarized/colors/solarized.vim ~/.vim/colors/ rm -rf solarized
vim ~/.vimrc
set nu syntax enable set background=dark set term=xterm-256color if system('uname') == "Linux " let g:solarized_termcolors=256 let g:solarized_termctrans=1 "开启linux下的灰蒙蒙的遮罩 let g:solarized_termtrans=1 endif colorscheme solarized
oh-my-zsh,传说中的神器,支持非常多的插件
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" vim ~/.zshrc ZSH_THEME="agnoster"
agnoster主题需要powerline字体
git clone https://github.com/powerline/fonts/ ./install.sh
iTerm2的字体设置,选择带powerline的(固定宽度的栏目里面的几乎都是powerline字体),然而我觉得比起monaco,都不太好看
debian下需要切换默认shell
chsh -s /bin/zsh
重启