Fonts - Pipe-Runner/dotfiles GitHub Wiki
Font download should be the same for both Mac and Ubuntu. I am using FiraCode Nerd Font. Installation steps may vary a bit for both Mac and Linux. In either case, first, download the zip from https://github.com/ryanoasis/nerd-fonts/tree/master/patched-fonts/FiraCode. Install the ttf
files from the unzipped folder as mentioned in the installation step. Get it from the release page. Look at the bottom of the page in the link.
Use this release page: https://www.nerdfonts.com/font-downloads
If
FiraCode Nerd Font
does not show up in Ubuntu Font manager, then download thettf
file from thecomplete
folder here. Then install bothregular
andmono
. Update the font cache and then you should be able to see the font as shown in the picture.
Now you can use this font in VS code by setting it like this (keep in mind that in VS code the font name has to match exactly with what is shown in font manager):
Enable font ligature as well.
And also enable it in the shell-emulator like this:
Due to a bug in the gnome-terminal will only show fonts with spacing 100. If it doesn't show up in the emulator, there are two ways to fix this:
- https://superuser.com/a/1336614
dconf write /org/gnome/terminal/legacy/profiles:/:b1dcc9dd-5262-4d8d-a863-c897e6d979b9/font "'FiraCode Nerd Font Mono 12'"
- where the ID here is the profile ID that can be found from the current terminal profile.