Skip to content

Instantly share code, notes, and snippets.

@danilo04
Created October 15, 2017 21:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danilo04/352f68d990cf80e49c7b257189e81fde to your computer and use it in GitHub Desktop.
Save danilo04/352f68d990cf80e49c7b257189e81fde to your computer and use it in GitHub Desktop.
#!/bin/bash
set -euo pipefail
I1FS=$'\n\t'
mkdir -p /tmp/adodefont
cd /tmp/adodefont
wget -q --show-progress -O source-code-pro.zip https://github.com/adobe-fonts/source-code-pro/archive/2.030R-ro/1.050R-it.zip
unzip -q source-code-pro.zip -d source-code-pro
mkdir -p ~/.fonts
cp -v source-code-pro/*/OTF/*.otf ~/.fonts/
fc-cache -f
rm -rf source-code-pro{,.zip}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment