Skip to content

Instantly share code, notes, and snippets.

@joeizang
Forked from leosuncin/README.md
Last active February 3, 2024 01:37
Show Gist options
  • Save joeizang/05bc2e0d7d2d1d4d50c03ffef575ac31 to your computer and use it in GitHub Desktop.
Save joeizang/05bc2e0d7d2d1d4d50c03ffef575ac31 to your computer and use it in GitHub Desktop.
Install Powerline on Ubuntu 20.04
  1. Install powerline sudo apt install powerline source /usr/share/powerline/bindings/bash/powerline.sh

  2. Download and install fonts git clone https://github.com/powerline/fonts.git && cd fonts && sh ./install.sh

  3. Add this lines to .bashrc file if bash is what you use. You could add to other files like .zshrc etc. I use bash so there. This ensures that this switch is automatic when you start bash

.bashrc

if [ -f /usr/share/powerline/bindings/bash/powerline.sh ]; then source /usr/share/powerline/bindings/bash/powerline.sh fi

@soulflyman
Copy link

Thank you, this was very helpful 😃 👍

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