Closed dcsan closed 2 years ago
Have you installed a Nerd Font which is required for displaying all special symbols/icons? And you should use that font in you terminal app.
@dcsan what @lewis-yeung said is correct!
I've been hunting around on the site to find out what is required to set this up
the font page isn't helpful
I can get the font. installed on system. still doesn't fix the problem. https://ohmyposh.dev/docs/configuration/fonts
do i have to download and edit a theme to "configure" it to use the right nerd font?
OK i guess i have to change the settings manually in the terminal app? so the theme is unable to specify a font?
but some themes maybe require a specific font? recursive
still seems broken
and what is this zsh no-config
stuff that is now filling out every terminal prompt, even in a git directory?
@dcsan it seems you're having some trouble understanding the different concepts here. oh-my-posh only hooks into the shell's prompt function(s), which means it outputs a string that the shell interprets and the terminal needs to render. The output is ANSI which tells the terminal what colors/text decorations to use. Icons etc are all part of the font which is a terminal configuration, not something oh-my-posh can influence. that's why it says "configure your terminal to use it". Depending on the font, sometimes certain characters aren't in there (also goes for nerd fonts and where the char is at), I personally use VictorMono.
The fact that this prompt shows no config (zsh is an indication of the shell, that's just a segment) is the the config your provided doesn't exist in that location (the --config
flag has a value that doesn't resolve to an actual path/file oh-my-posh can access).
@dcsan closing as this isn't an issue with oh-my-posh, we can keep the conversation alive in case you have any questions.
As mentioned by @lewis-yeung, you need to use Nerd Font in iTerm2 to make it display correctly. Preferences > Profiles > Select Profile > Text > Set Font.
This issue has been automatically locked since there has not been any recent activity (i.e. last half year) after it was closed. It helps our maintainers focus on the active issues. If you have found a problem that seems similar, please open a discussion first, complete the body with all the details necessary to reproduce, and mention this issue as reference.
Code of Conduct
What happened?
I followed install info and added this so as to avoid using apple's terminal
on opening a new terminal I get this:
Theme
haven't got into customizing yet.
What OS are you seeing the problem on?
macOS
Which shell are you using?
zsh, other (please specify):
I'm using zsh with iTerm2 Build 3.4.15
Log output