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
Installing a powerline patched font will solve this. This official documentation provides description about installing poweline fonts.
There are two ways to enable powerline patched font in iTerm2.
Bonus: