Mike Stone

Mostly The Lonely Howls Of Mike Baying His Ideological Purity At The Moon

Getting Powerline to Work

09 May 2019

I’ve been testing out Ubuntu 19.04 lately, but the shell has been feeling a little naked. In the past I’ve really liked the way powerline updates the looks of things so I thought that I’d install that to improve the asthetic. I had a few problems finding instructions that work in the newest version of Ubuntu, so I thought I’d post my results here.

sudo apt-get install python-pip
git clone https://github.com/powerline/fonts.git && cd fonts && sh ./install.sh

Once that’s done, you need to add this stuff to respective files.

.vimrc

set rtp+=/usr/local/lib/python2.7/dist-packages/powerline/bindings/vim/
set laststatus=2
set t_Co=256

.bashrc

if [ -f /usr/local/lib/python2.7/dist-packages/powerline/bindings/bash/powerline.sh ]; then
source /usr/local/lib/python2.7/dist-packages/powerline/bindings/bash/powerline.sh
fi

This seemed to get everything up and running fine.



Looking for comments? There are no comments. It's not that I don't care what you think, it's just that I don't want to manage a comments section.

If you want to comment, there's a really good chance I at least mentioned this post on Fosstodon, and you can reply to me there. If you don't have a Mastodon account, I'd suggest giving it a try.

If you don't want to join Mastodon, and you still want to comment, feel free to use my contact information.

Also, don't feel obligated, but if you feel like buying me a ☕ cup of coffee ☕ I won't say no.