How to make Powerline fonts work with iTerm2

fontitermmojaveterminal

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

Best Answer

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

https://medium.com/@elviocavalcante/5-steps-to-improve-your-terminal-appearance-on-mac-osx-f58b20058c84

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