Last active
June 19, 2024 19:10
-
-
Save Elteoremadebeethoven/8309ab77a24b77cbb3f3a253c3ede0d4 to your computer and use it in GitHub Desktop.
Install Meslo fonts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Copy any font (folder name) to the $font variable from here: | |
# https://github.com/ryanoasis/nerd-fonts/tree/master/patched-fonts | |
font=Meslo | |
fontpath="$HOME/.local/share/fonts" | |
version="2.3.3" | |
wget https://github.com/ryanoasis/nerd-fonts/releases/download/v"$version"/$font.zip | |
mkdir -p "$fontpath" | |
unzip $font.zip -d "$fontpath" | |
rm "$fontpath"/*Windows* | |
rm $font.zip | |
fc-cache -fv |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment