I have installed iTerm2 and Oh-my-zsh. However there is a weird question mark that is coming ever since I have changed ZSH-THEME to \"agnoster\".
Attaching the screensho
Run step 1-3 in your iterm2/terminal
git clone https://github.com/powerline/fonts
(clone it anywhere, You can remove cloned dir after step-4)cd fonts
./install.sh
EDIT: If you are not using iTerm you can simply change the default macOS Terminal Preferences. (Thanks to Kewal Shah)
Reopen the terminal and you are done.
You can also refer this thread on git about the same.