installing powerline on fedora 26

1.powerline is  a status plugin for bash.vim with much mode added features which are handy to use.

sudo dnf install powerline powerline-fonts -y

2.add below code to .bashrc

if [ -f `which powerline-daemon` ]; then
powerline-daemon -q
POWERLINE_BASH_CONTINUATION=1
POWERLINE_BASH_SELECT=1
. /usr/share/powerline/bash/powerline.sh
fi

execute the source .bashrc for reflecting changes without logout.