环境配置管理
home目录采用git管理,这样避免配置配更改
使用zsh
一直使用zsh,感觉zsh的自动补全功能非常好,比bash好用(也许是我没配好吧)
安装powerline
git clone https://github.com/powerline/powerline.git powerline
下载patched font
powerline为保证很好的视觉效果,设计了自己的一些字体
git clone https://github.com/powerline/fonts.git –depth=1
cd fonts
./install.sh
设置字体
以iterm2为例
选择以powerline结尾的字体名
配置tmux
配置vim
配置powerline
在.vimrc中添加
set rtp+=~/powerline/powerline/bindings/vim
set laststatus=2 “设置statusline总是显示