Nerd Font glyphs not used (for top-level commands)
Author: Daniel-MoenchCreated Aug 3, 2026Updated Aug 3, 2026
Labelsbug
Describe the bug With a Nerd Font setup (#350), the glyphs are not actually used (on the top level command).
To Reproduce
- Install a nerd font and setup your terminal to use it. (for me "FiraCode Nerd Font Mono" in Windows Terminal @ Windows 11)
- set
useNerdFont=truein~/.config/inshellisense/rc.toml - start a new session (for me
is -s pwshor cmd)- ensure glyphs are actually rendered, e.g.
Write-Host "`u{E702} git `u{E7B0} docker `u{E709} github `u{ED0D} node"should look like:
- type "git" or "node" or any ot the supported commands listed in
suggestions.txNerdFontIcons - result, no glyphs:
Expected behavior Glyphs should be shown (for top-level commands)
Environment
- OS: Win 11
- Output of
is --version: 0.0.2 - Nodejs Version: 26.5.1
- Shell: pwsh, cmd
- Shell Version: 7.6.4
Additional context
I did a quick lookup and found that runtime.ts runCommand() resolves hard coded icons for aliases and specs. This may or may not explain the issue.
Thus, I suppose suggestions.ts getIcon() may not be called on the top-level, so the main purpose of the glyphs is basically never achieved?
Source: microsoft/inshellisense