Skip to content

Commit

Permalink
locally
Browse files Browse the repository at this point in the history
  • Loading branch information
isidroas committed Dec 8, 2024
1 parent 57f84fe commit a0f8248
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions examples/install_nerd_fonts.sh
Original file line number Diff line number Diff line change
@@ -1,17 +1,10 @@
#!/bin/bash
set -e

# # TODO: completion bash
# # TODO: create debian package
# if [ $UID -ne 0 -a $EUID -ne 0 ]; then
# echo run as sudo. $UID $EUID
# exit 1
# fi


# PREFIX=/usr/local/share/fonts
PREFIX=/usr/share/fonts
# PREFIX=~/.local/share/fonts
# PREFIX=/usr/share/fonts
PREFIX=~/.local/share/fonts
for font in DejaVuSansMono Hack SourceCodePro FiraMono FiraCode; do

if [ -d $PREFIX/$font ]; then
Expand All @@ -23,7 +16,4 @@ for font in DejaVuSansMono Hack SourceCodePro FiraMono FiraCode; do
unzip -o /tmp/${font}.zip -d $PREFIX/$font
done


sudo apt install tree
tree $PREFIX
fc-match 'SauceCodePro Nerd Font'

0 comments on commit a0f8248

Please sign in to comment.