Skip to content

Instantly share code, notes, and snippets.

@nathakits
Last active August 29, 2017 09:12
Show Gist options
  • Save nathakits/9b3a769c0cc2147dac3026b2e7ff9b26 to your computer and use it in GitHub Desktop.
Save nathakits/9b3a769c0cc2147dac3026b2e7ff9b26 to your computer and use it in GitHub Desktop.
Powerline font install for Ubuntu 16.10 Raw

Install Powerline fonts Oh-My-Fish

If you're using Fish shell with OMF theme designed with Powerline fonts in mind, you'll need to install them on your machine. These are the most clear and cut-down instructions that I've found to work with Ubuntu 16.10 and all credit goes to petercossey's Ubuntu Powerline Install gist.

Get the font and config files

cd ~
wget https://github.com/powerline/powerline/raw/develop/font/PowerlineSymbols.otf
wget https://github.com/powerline/powerline/raw/develop/font/10-powerline-symbols.conf
mkdir ./fonts
mv PowerlineSymbols.otf ~/.fonts/
mkdir -p .config/fontconfig/conf.d #if directory doesn't exists

Clear fonts cache

fc-cache -vf ~/.fonts/

Move config file

mv 10-powerline-symbols.conf ~/.config/fontconfig/conf.d/

Done

Restart your terminal and your powerline fonts should be working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment