Reputation: 87
I've just upgraded to zsh using the following tools:
This is the problem I'm experiencing:
I am using the following ITerm2 configuration:
BTW I've already tried to install the Powerline fonts
Upvotes: 4
Views: 3703
Reputation: 2688
What you've highlighted in the screenshot is prompt. Zsh prompt is controlled by themes. The theme you are using is apparently Powerlevel10k (your questions says "Powerline10K" but that's almost certainly a mistake).
So you'd like to see powerline glyphs in Powerlevel10k prompt in iTerm2. To do that you need to type p10k configure
. It'll immediately ask whether you want to installed the recommended font. Say "yes", then restart iTerm2 when prompted, and then again run p10k configure
. This time it won't offer to install a font and will present you with the choice of prompt styles, some of which use powerline glyphs.
Upvotes: 6
Reputation: 47
Yeah, I have the same font installed as you and it didn't work. Looks like that font only supports powerline in vim in my experience.
Based on the p10k docs, the nerd font will support all style options. If you still like to use source code pro, you can download nerd version here.
I also fount out that JetBrains Mono is also a nice font for develop because it is so easy to read. You can use with Nerd Font like this:
Upvotes: 1