Closed janos-r closed 3 years ago
JetBrains Mono doesn't include those symbols. If your font file does, it was previously patched. What you are searching for is most likely this project: ryanoasis/nerd-fonts
I see, thank you for the info. No, I never had the "correct" symbol. It came with the new version of starship.rs. So it is probably their fault for adding non-standard characters.
Yea, the Starship manual says you should have one of the Nerd Fonts installed as a prerequisite. If you have the original unpatched JetBrains Mono font installed, then most likely the symbol is substituted by your terminal emulator from another font. The original font doesn't have that glyph at all:
Pre-patched JetBrains Mono distributed by nerd-fonts project is outdated, I'd recommend to patch the recent version yourself if you want to see all the fancy characters in your terminal. The one you've mentioned is a part of Material Design Icons set. Yesterday I successfully did it with this settings ./font-patcher -s --fontlogos --mdi --octicons --powerlineextra
. However, when I tried to add the FontAwesome set, my Kitty terminal stopped seeing it. So you may need to try different options to find the settings that suit you best.
I just added a config setting to behave like before. But Im a little disappointed by starship. I love the tool, but they should not expect some 3rd party font with their default setting.
starship.toml: [nodejs] symbol = "⬢ "
Here is a link to the PR with JetBrains Mono https://github.com/ryanoasis/nerd-fonts/pull/572
I could add this symbol in the font, but this may look inconsistent after Nerd Fonts patch, so the optimal solution is to wait for the merge, or patch the font like @Nexion is suggesting.
Closing this issue because the symbol is not supported by JetBrains Mono.
Please add the JS symbol that starship started to use recently as default https://starship.rs/config/#nodejs
Right now it displays like this: