1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-03 07:08:01 +00:00
Files
til/mac/use-a-different-font-with-iterm2.md
2025-01-09 11:13:17 -06:00

1.1 KiB

Use A Different Font With iTerm2

I wanted to give gh-dash a try, but after installing and opening it up, I was seeing a bunch of ? characters where specialized font icons were missing. Their README recommended installing a Nerd Font that includes those icons, such as Fira Code.

I was able to install font-fira-code-nerd-font with homebrew:

$ brew install font-fira-code-nerd-font

Then to get iTerm2 to start using that font, I had to change the font setting for my current profile.

Under the iTerm2 menu is Settings.... From there, I clicked the Profiles section. For the Default profile, I went to the Text tab and under Font I selected FireCode Nerd Font Mono from the dropdown.

That won't take effect on any current iTerm2 windows. Since I have everything running through tmux, I could close my current window, open a new one (Cmd+N), and reconnect to my existing tmux session. Now when I run gh dash, I see all the font icons that were missing before.