I want to use the Hack Nerd Font for Git Bash on Windows.
I have the font installed, but it doesn't appear in options. If I run the command mintty -o Font="Hack NF"
, it does work in a new mintty window, but if I provide the -o Font
option to git-bash.exe itself, it doesn't work. Is there a way to do this?
According to the issue tracker at mintty they only look at fonts that are flagged as monospace.
I found an issue against Roboto Mono asking for the 'isFixedPitch' flag to be set for the font, so it is not an uncommon problem.
You can specify the font manually in the .minttyrc
file located in your home directory.
For example I tried this and it works.
FontHeight=16
Font=Hack Nerd Font
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With