Powerline for your terminal on Ubuntu

Powerline for your terminal on Ubuntu

I noticed on Fedora it is really easy to enable powerline in your terminal. This article explains it well: http://fedoramagazine.org/add-power-terminal-powerline/

On Ubuntu 15.04 it looks like powerline is pretty easy to enable although it did not appear like the tmux or vim powerline plugins are available from regular repos.

Enable powerline in your terminal like this:

# apt-get install powerline fonts-powerline

~ cat .bashrc
if [ -f `which powerline-daemon` ]; then
  powerline-daemon -q
  . /usr/share/powerline/bindings/bash/powerline.sh

3 thoughts on “Powerline for your terminal on Ubuntu

  1. Rick J.

    The code always reaches the if-block even when there is no powerline-daemon. Replaced with “! -z” to compare the output string of “which”.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.