Last active
August 10, 2020 11:53
-
-
Save leberblock/1e281a09522271c1230fd1b4719163be to your computer and use it in GitHub Desktop.
powerline: installation centos7 + activation in vim and bash
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### 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/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks!!