Skip to content

Instantly share code, notes, and snippets.

@dannysmith
Created July 9, 2016 20:06
Show Gist options
  • Select an option

  • Save dannysmith/6ab9cf0003644adafd48ff39f964eca4 to your computer and use it in GitHub Desktop.

Select an option

Save dannysmith/6ab9cf0003644adafd48ff39f964eca4 to your computer and use it in GitHub Desktop.
# Fonts
fancy_echo "Downloading & Installing fonts..."
curl -s https://raw.githubusercontent.com/spartaglobal/laptop/master/assets/fonts.zip | tar xvz -C "$HOME/Desktop/Fonts"
echo $passwd | sudo -S -k cp $HOME/Desktop/Fonts/*.ttf /Library/Fonts
rm -rf $HOME/Desktop/Fonts/
fancy_echo "Rebuilding font cache..."
echo $passwd | sudo -S -k atsutil databases -remove
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment