From 7f71fc80f8a9e78652ee4f75e3b07c6f042ab68e Mon Sep 17 00:00:00 2001 From: Gerardo Marx Date: Thu, 7 Oct 2021 06:38:40 -0500 Subject: [PATCH] script to install source code fonts --- install-source-code-fonts.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 install-source-code-fonts.sh diff --git a/install-source-code-fonts.sh b/install-source-code-fonts.sh new file mode 100755 index 0000000..9b23919 --- /dev/null +++ b/install-source-code-fonts.sh @@ -0,0 +1,13 @@ +#!/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 +