安装电源线路需要pip
链接: https://pan.Baidu.com/s/1 JC 59 VD 35 pyic 2f tk 5v8 h1w密码: otfp
利用pip curl https://bootstrap.pypa.io/get-pip.py-oget-pip.pypythonget-pip.pypip安装powerline
powerlinepipinstallpowerline-status测试
下载pip show powerline-status安装字体
wget 3359 github.com/power line/power line/raw/develop/font/power line symbols.OTF wget 3359 github.com/power line
cppowerlinesymbols.OTF/usr/share/fonts命令执行命令fc-cache-VF/usr/share/fonts/fc-cache (如果没有,请参阅fontcontconfig )
# power line if [-f ` which power line-daemon ` ]; then power line-daemon-qpowerline _ bash _ continuation=1power line _ bash _ select=1./usr/local/lib/python 2
效果
配置vim vim ~/.vimrc
set RTP=/usr/local/lib/python 2.7/dist-packages/power line/bindings/vimsetlaststatus=2sett _ co=256 source
效果
骚起来吧。
转载于:https://www.cn blogs.com/chenglee/p/9067502.html