I have a problem with using Powerline fonts in the iTerm2. I followed the tutorial for installation and I have chosen Hack font in the profile settings (Non-ASCII is set just to make sure). My .zshrc file is here if it helps.

enter image description here

However, the prompt still looks like this

enter image description here

I am running Mojave with ZSH 5.7.1 (I am not sure if any ZSH configuration applies to this issue). Thanks a lot for help


I am not sure about the setup that you did. But the following process worked on my system:


I suggest you change the theme from default ZSH_THEME="robbyrussell" to ZSH_THEME="agnoster".

The above guideline helped me to get the font in terminal and in iterm2 too

enter image description here

  • I am not using Oh My Zsh, I attached my zshrc if it helps. But yes, I followed the steps 4 and 5, otherwise I wouldn't be able to add the fonts into the iTerm. – Petr Mensik Sep 9 '19 at 15:41

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .