Question Marks in iTerm (Font Issue?) I recently set up my iTerm and have been really enjoying how smooth and functional it is out of the box. I installed the Prezto zsh pre-config and set up Powerlevel10k as my Prezto theme. I also use solarized dark with Inconsolata for Powerline and Menlo for Powerline as my font, both of which have this issue.
When I cd to my root director (cd /), I see an odd question mark box on my powerline. I also see the same box when I activate my virtualenv in a python code directory.
Below is a picture of this happening with the root directory. When I activate the virtualenv, the same thing happens but ON THE RIGHT SIDE beside an indicator with my project name that comes up when virtualenv is activated. What do the question marks mean? What is failing to display? I have no idea what is going on and would appreciate help in troubleshooting.
After a period of troubleshooting, and with some nudges from Allan, I was able to figure out what was going on: my terminal was attempting to display a unicode lock.
Turns out, my font, Inconsolata for Powerline, didn't support this. I came to this conclusion after reverting to my default theme in iTerm2 WITHOUT Inconsolata enabled. The lock displayed correctly there!
After research, I found a Github repo (and its name is familiar... I feel like I used it on a previous install) of patched fonts that display most of the proper terminal unicode icons. Much thanks to ryanoasis on Github for this!
If you're having a similar problem like me, give it a try and see how it goes. Here's what the fixed terminal looks like: