Skip to content

Instantly share code, notes, and snippets.

@Demieno
Created August 5, 2019 13:04
Show Gist options
  • Save Demieno/316055218f310b90a03819f5d39b6e22 to your computer and use it in GitHub Desktop.
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
#!/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