Add powerline support to your terminal

Overview Powerline is a statusline plugin for vim, and provides statuslines and prompts for several other applications, including zsh, bash, tmux, IPython, Awesome, i3 and Qtile.

Instructions to install and configure powerline on your systems

STEP I Install Powerline

On Debian or debian based distributions install the following packages as root.

apt install powerline fonts-powerline

on other linux distributions follow the procedures as per your package managers to install the above pacakges. The package names should be similar or they might be slightly modified.

STEP II Configure your .bashrc file

You need to configure your .bashrc file to start powerline whenever you start a new terminal to edit your .bashrc file.

nano ~/.bashrc

Now you need to add the following text at the end of your .bashrc file

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

now save and exit the file by pressing Ctrl + o and Ctrl + x

Your edits to the .bashrc file are now done, now you need to bring the changes in your .bashrc file to effect.

to do that use the source command like this.

source ~/.bashrc

Now you should see that you are getting a nice looking terminal for yourself to use.