Created
August 5, 2019 13:04
-
-
Save Demieno/316055218f310b90a03819f5d39b6e22 to your computer and use it in GitHub Desktop.
Put this Bash script in your home folder and run it to install Source Code Pro. Make it executable with
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 characters
| #!/usr/bin/env bash | |
| cd Downloads | |
| wget https://github.com/adobe-fonts/source-code-pro/archive/2.030R-ro/1.050R-it.zip | |
| if [ ! -d "~/.fonts" ] ; then | |
| mkdir ~/.fonts | |
| fi | |
| unzip 1.050R-it.zip | |
| cp source-code-pro-*-it/OTF/*.otf ~/.fonts/ | |
| rm -rf source-code-pro* | |
| rm 1.050R-it.zip | |
| cd ~/ | |
| fc-cache -f -v |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment