dan-klasson
dan-klasson

Reputation: 14210

Display issue with oh-my-zsh agnoster theme

I've added the theme in the zshrc file like so:

ZSH_THEME="agnoster"

But it ends up looking like this:

enter image description here

I'm on Ubuntu Gnome 16.04. What am I missing?

Upvotes: 31

Views: 44539

Answers (5)

Acaibird
Acaibird

Reputation: 49

you should config normal font

live_config_reload = true
[window]
dimensions = { columns = 120, lines=50 }
[font]
bold = {family = "Fira Code",style = "Bold" }
normal = {family = "Fira Mono for Powerline",style = "Bold" }
size = 12.00
[colors]
primary.foreground="#90D26D"
primary.background="#000000"

Upvotes: 0

Swaroop Maddu
Swaroop Maddu

Reputation: 4864

Install Melno For Powerline font and Change default terminal font.

$ git clone https://github.com/abertsch/Menlo-for-Powerline.git

$ cd Menlo-for-Powerline

$ sudo mv Menlo* /usr/share/fonts

Now open terminal

Edit->Preferences-> Unnamed-> Text -> Check Custom font
  • Now Select your Custom font as Melno For Powerline Regular

enter image description here

Upvotes: 5

Amin
Amin

Reputation: 461

You just need to install a font that contains these characters. for example, you can install Powerline fonts using this command:

sudo apt-get install fonts-powerline

That worked for me as well.

Upvotes: 32

AnimiVulpis
AnimiVulpis

Reputation: 2726

As stated on the agnoster-github-page you need either a

  • Powerline-patched font
  • Font that contains the characters needed

Your currently used font seems to be missing the \ue0b0 char. It looks different from what it should look like (A full-line-height one-char-wide right pointing triangle)

I would look into some of these fonts:

Upvotes: 17

piducancore
piducancore

Reputation: 49

I was having this issue on Debian 9 with urxvt. Fixed it changing font to Hack. Thanks to @AnimiVulpis answer.

Install Hack font on Debian:

apt-get install fonts-hack-ttf

Configure on ~/.Xresources:

URxvt.font: xft:Hack:size=8

Upvotes: 0

Related Questions