Forked from enzinier/install_font_adobe_source_code_pro.sh
Created
May 1, 2018 20:44
-
-
Save Blacksmith-Coder/91e6c17f126bb1699aefab23756ea351 to your computer and use it in GitHub Desktop.
Revisions
-
enzinier revised this gist
Mar 4, 2017 . No changes.There are no files selected for viewing
-
enzinier created this gist
Mar 4, 2017 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,18 @@ #!/bin/sh # Userland mode (~$USER/), (~/). # ~/.fonts is now deprecated and that #FONT_HOME=~/.fonts # ~/.local/share/fonts should be used instead FONT_HOME=~/.local/share/fonts echo "installing fonts at $PWD to $FONT_HOME" mkdir -p "$FONT_HOME/adobe-fonts/source-code-pro" # find "$FONT_HOME" -iname '*.ttf' -exec echo '{}' \; (git clone \ --branch release \ --depth 1 \ 'https://github.com/adobe-fonts/source-code-pro.git' \ "$FONT_HOME/adobe-fonts/source-code-pro" && \ fc-cache -f -v "$FONT_HOME/adobe-fonts/source-code-pro")