Skip to content

Instantly share code, notes, and snippets.

@nitheeshas
Forked from veggiemonk/install_font_scp.sh
Created December 22, 2017 03:06
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 nitheeshas/4e7f6853c0e71580f97c80ec2720514b to your computer and use it in GitHub Desktop.
Save nitheeshas/4e7f6853c0e71580f97c80ec2720514b to your computer and use it in GitHub Desktop.
install source code pro font in Ubuntu 14.04.2
#!/bin/sh
echo "installing fonts at $PWD to ~/.fonts/"
mkdir -p ~/.fonts/adobe-fonts/source-code-pro
git clone https://github.com/adobe-fonts/source-code-pro.git ~/.fonts/adobe-fonts/source-code-pro
# find ~/.fonts/ -iname '*.ttf' -exec echo \{\} \;
fc-cache -f -v ~/.fonts/adobe-fonts/source-code-pro
echo "finished installing"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment