Installing Powerline on Linuxmint/Ubentu

 1. Add the Universe repository: (for Ubuntu)           

        sudo add-apt-repository universe 

 2.   Install Powerline
        sudo apt install --yes powerline 
 3. To configure Powerline for bash, add the following lines to your $HOME/.bashrc file  
        # Powerline configuration
        if [ -f /usr/share/powerline/bindings/bash/powerline.sh ]; then
        powerline-daemon -q
        POWERLINE_BASH_CONTINUATION=1
        POWERLINE_BASH_SELECT=1
        source /usr/share/powerline/bindings/bash/powerline.sh
        fi

Comments