Cool bash prompt and VIM status line using Powerline (Fedora 25)


This guide is based from:
https://fedoramagazine.org/add-power-terminal-powerline/


INSTALL PACKAGES


$ dnf install powerline vim-powerline

BASH

Edit ~/.bashrc and /root/.bashrc add these lines:

powerline-daemon -q
POWERLINE_BASH_CONTINUATION=1
POWERLINE_BASH_SELECT=1
source /usr/share/powerline/bash/powerline.sh



VIM

Edit ~/.vim/vimrc and /root/.vim/vimrc add these lines:

python3 from powerline.vim import setup as powerline_setup
python3 powerline_setup()
python3 del powerline_setup
set laststatus=2
set t_Co=256



Comments

Popular posts from this blog

Tips Jika Mobil Anda Habis Bensin LOL!

Setting open office u label tom & jerry