monolisa-nerdfont-patch/bin/update-src

15 lines
354 B
Bash
Executable file

#!/usr/bin/env bash
REPO_URL='https://github.com/ryanoasis/nerd-fonts.git'
rm -rf nerd-fonts
git clone --filter=blob:none --no-checkout --depth 1 --sparse $REPO_URL
cd nerd-fonts || exit
git sparse-checkout add src/glyphs
git checkout
cp font-patcher ../bin/font-patcher
cp src/glyphs/** ../src/glyphs -r
echo "don't forget to commit your changes!"