1.) Download a Nerd Font
2.) Unzip and copy to ~/.fonts
3.) Run the command fc-cache -fv
to manually rebuild the font cache
1.) Download a Nerd Font
2.) Unzip and copy to ~/.fonts
3.) Run the command fc-cache -fv
to manually rebuild the font cache
I made a small, but useful to me, change to @donovan code. I added code to look up the latest version of nerd fonts and download those.
No need to introduce dependency on curl
and jq
. With proper download_url wget
will be automatically redirected to the latest version
download_url="https://github.com/ryanoasis/nerd-fonts/releases/latest/download/${zip_file}"
Thank you so much!