10

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?

1 Answer 1

18

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.