arch应该也行
目录为/root下
非root请在命令前加上 sudo
安装zsh
pacman -S zsh
安装 oh-my-zsh
sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)
安装字体
pacman -S powerline
pacman -S powerline-fonts
vim .bashrc
#在最后增加
powerline-daemon -q
POWERLINE_BASH_CONTINUATION=1
POWERLINE_BASH_SELECT=1
. /usr/lib/python3.6/site-packages/powerline/bindings/bash/powerline.sh
vim .zshrc
#在最后增加
powerline-daemon -q
. /usr/lib/python3.6/site-packages/powerline/bindings/zsh/powerline.zsh
vim支持
pacman -S powerline-vim
配置
vim .vimrc
let g:powerline_pycmd="py3"
set laststatus=2
set t_Co=256
syntax on
效果
bye