Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Infi-Knight/0f65f7bf3385f9c8984e3e64a4b8520f to your computer and use it in GitHub Desktop.
Save Infi-Knight/0f65f7bf3385f9c8984e3e64a4b8520f to your computer and use it in GitHub Desktop.

Revisions

  1. @petercossey petercossey revised this gist Jul 27, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion ubuntu-powerline-install.md
    Original file line number Diff line number Diff line change
    @@ -12,7 +12,7 @@ wget https://github.com/powerline/powerline/raw/develop/font/PowerlineSymbols.ot
    wget https://github.com/powerline/powerline/raw/develop/font/10-powerline-symbols.conf
    mkdir ~/.fonts #if directory doesn't exist
    mv PowerlineSymbols.otf ~/.fonts/
    mkdir -p .config/fontconfig/conf.d #if directory doesn't exists
    mkdir -p ~/.config/fontconfig/conf.d #if directory doesn't exists
    ```

    ### Clear fonts cache
  2. @petercossey petercossey revised this gist Jun 17, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion ubuntu-powerline-install.md
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    ## Install Powerline fonts for Z shell

    > Please note: there is an APT package called "fonts-powerline" which is tested and working for Ubuntu 20.04 which achieves the same outcome. Try "apt install fonts-powerline"
    > Please note: there is an APT package called "fonts-powerline" which is tested and working for Ubuntu 20.04 which achieves the same outcome. Try "sudo apt install fonts-powerline"
    If you're using Z Shell and a special prompt 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 (also confirmed working for 17.04, 17.10, 18.04, 19.10) and all credit goes to renshuki's [Ubuntu 14.04 + Terminator + Oh My ZSH with Agnoster Theme gist](https://gist.github.com/renshuki/3cf3de6e7f00fa7e744a). I've extracted just the Powerline font instructions - my personal setup uses Prezto instead of Oh My ZSH (not included here).

  3. @petercossey petercossey revised this gist Jun 17, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion ubuntu-powerline-install.md
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    ## Install Powerline fonts for Z shell

    > Please note: there is an APT package called "fonts-powerline" which is tested and working for Ubuntu 20.04 which achieves the same outcome.
    > Please note: there is an APT package called "fonts-powerline" which is tested and working for Ubuntu 20.04 which achieves the same outcome. Try "apt install fonts-powerline"
    If you're using Z Shell and a special prompt 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 (also confirmed working for 17.04, 17.10, 18.04, 19.10) and all credit goes to renshuki's [Ubuntu 14.04 + Terminator + Oh My ZSH with Agnoster Theme gist](https://gist.github.com/renshuki/3cf3de6e7f00fa7e744a). I've extracted just the Powerline font instructions - my personal setup uses Prezto instead of Oh My ZSH (not included here).

  4. @petercossey petercossey revised this gist Jun 17, 2020. No changes.
  5. @petercossey petercossey revised this gist Jun 17, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion ubuntu-powerline-install.md
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    ## Install Powerline fonts for Z shell

    | Please note: there is an APT package called "fonts-powerline" which is tested and working for Ubuntu 20.04 which achieves the same outcome.
    > Please note: there is an APT package called "fonts-powerline" which is tested and working for Ubuntu 20.04 which achieves the same outcome.
    If you're using Z Shell and a special prompt 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 (also confirmed working for 17.04, 17.10, 18.04, 19.10) and all credit goes to renshuki's [Ubuntu 14.04 + Terminator + Oh My ZSH with Agnoster Theme gist](https://gist.github.com/renshuki/3cf3de6e7f00fa7e744a). I've extracted just the Powerline font instructions - my personal setup uses Prezto instead of Oh My ZSH (not included here).

  6. @petercossey petercossey revised this gist Jun 17, 2020. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions ubuntu-powerline-install.md
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,7 @@
    ## Install Powerline fonts for Z shell

    | Please note: there is an APT package called "fonts-powerline" which is tested and working for Ubuntu 20.04 which achieves the same outcome.

    If you're using Z Shell and a special prompt 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 (also confirmed working for 17.04, 17.10, 18.04, 19.10) and all credit goes to renshuki's [Ubuntu 14.04 + Terminator + Oh My ZSH with Agnoster Theme gist](https://gist.github.com/renshuki/3cf3de6e7f00fa7e744a). I've extracted just the Powerline font instructions - my personal setup uses Prezto instead of Oh My ZSH (not included here).

    ### Get the font and config files
  7. @petercossey petercossey revised this gist Jan 22, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion ubuntu-powerline-install.md
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    ## Install Powerline fonts for Z shell

    If you're using Z Shell and a special prompt 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 (also confirmed working for 17.04, 17.10, 18.04) and all credit goes to renshuki's [Ubuntu 14.04 + Terminator + Oh My ZSH with Agnoster Theme gist](https://gist.github.com/renshuki/3cf3de6e7f00fa7e744a). I've extracted just the Powerline font instructions - my personal setup uses Prezto instead of Oh My ZSH (not included here).
    If you're using Z Shell and a special prompt 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 (also confirmed working for 17.04, 17.10, 18.04, 19.10) and all credit goes to renshuki's [Ubuntu 14.04 + Terminator + Oh My ZSH with Agnoster Theme gist](https://gist.github.com/renshuki/3cf3de6e7f00fa7e744a). I've extracted just the Powerline font instructions - my personal setup uses Prezto instead of Oh My ZSH (not included here).

    ### Get the font and config files

  8. @petercossey petercossey revised this gist Jan 22, 2020. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions ubuntu-powerline-install.md
    Original file line number Diff line number Diff line change
    @@ -8,6 +8,7 @@ If you're using Z Shell and a special prompt theme designed with Powerline fonts
    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 #if directory doesn't exist
    mv PowerlineSymbols.otf ~/.fonts/
    mkdir -p .config/fontconfig/conf.d #if directory doesn't exists
    ```
  9. @petercossey petercossey revised this gist Jul 3, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion ubuntu-powerline-install.md
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    ## Install Powerline fonts for Z shell

    If you're using Z Shell and a special prompt 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 renshuki's [Ubuntu 14.04 + Terminator + Oh My ZSH with Agnoster Theme gist](https://gist.github.com/renshuki/3cf3de6e7f00fa7e744a). I've extracted just the Powerline font instructions - my personal setup uses Prezto instead of Oh My ZSH (not included here).
    If you're using Z Shell and a special prompt 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 (also confirmed working for 17.04, 17.10, 18.04) and all credit goes to renshuki's [Ubuntu 14.04 + Terminator + Oh My ZSH with Agnoster Theme gist](https://gist.github.com/renshuki/3cf3de6e7f00fa7e744a). I've extracted just the Powerline font instructions - my personal setup uses Prezto instead of Oh My ZSH (not included here).

    ### Get the font and config files

  10. @petercossey petercossey revised this gist Jan 6, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion ubuntu-powerline-install.md
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    ## Install Powerline fonts for Z shell

    If you're using Z Shell and a special prompt 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 renshuki's (Ubuntu 14.04 + Terminator + Oh My ZSH with Agnoster Theme gist)[https://gist.github.com/renshuki/3cf3de6e7f00fa7e744a]. I've extracted just the Powerline font instructions - my personal setup uses Prezto instead of Oh My ZSH (not included here).
    If you're using Z Shell and a special prompt 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 renshuki's [Ubuntu 14.04 + Terminator + Oh My ZSH with Agnoster Theme gist](https://gist.github.com/renshuki/3cf3de6e7f00fa7e744a). I've extracted just the Powerline font instructions - my personal setup uses Prezto instead of Oh My ZSH (not included here).

    ### Get the font and config files

  11. @petercossey petercossey revised this gist Jan 6, 2017. 1 changed file with 6 additions and 2 deletions.
    8 changes: 6 additions & 2 deletions ubuntu-powerline-install.md
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    ## Install Powerline fonts for Z shell

    These instructions have been extracted from renshuki's (Ubuntu 14.04 + Terminator + Oh My ZSH with Agnoster Theme)[https://gist.github.com/renshuki/3cf3de6e7f00fa7e744a]. I've extracted just the Powerline font instructions - my personal setup uses Prezto instead of Oh My ZSH (not included here).
    If you're using Z Shell and a special prompt 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 renshuki's (Ubuntu 14.04 + Terminator + Oh My ZSH with Agnoster Theme gist)[https://gist.github.com/renshuki/3cf3de6e7f00fa7e744a]. I've extracted just the Powerline font instructions - my personal setup uses Prezto instead of Oh My ZSH (not included here).

    ### Get the font and config files

    @@ -22,4 +22,8 @@ fc-cache -vf ~/.fonts/

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

    ### Finito

    Restart your terminal and your powerline fonts should be working.
  12. @petercossey petercossey created this gist Jan 6, 2017.
    25 changes: 25 additions & 0 deletions ubuntu-powerline-install.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,25 @@
    ## Install Powerline fonts for Z shell

    These instructions have been extracted from renshuki's (Ubuntu 14.04 + Terminator + Oh My ZSH with Agnoster Theme)[https://gist.github.com/renshuki/3cf3de6e7f00fa7e744a]. I've extracted just the Powerline font instructions - my personal setup uses Prezto instead of Oh My ZSH (not included here).

    ### 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
    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/
    ```