Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save leberblock/1e281a09522271c1230fd1b4719163be to your computer and use it in GitHub Desktop.
Save leberblock/1e281a09522271c1230fd1b4719163be to your computer and use it in GitHub Desktop.
powerline: installation centos7 + activation in vim and bash
### installation centos7
sudo yum install python-pip
pip install --user powerline-status
### vim
set rtp+=$HOME/.local/lib/python2.7/site-packages/powerline/bindings/vim/
" Always show statusline
set laststatus=2
" Use 256 colours (Use this setting only if your terminal supports 256 colours)
set t_Co=256
### bash
if [ -f ~/.local/lib/python2.7/site-packages/powerline/bindings/bash/powerline.sh ]; then
source ~/.local/lib/python2.7/site-packages/powerline/bindings/bash/powerline.sh
fi
credits:
https://askubuntu.com/questions/283908/how-can-i-install-and-use-powerline-plugin/
@ric-bianchi
Copy link

Thanks!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment