Created
September 15, 2015 03:24
-
-
Save marcora/cb37b2432c072e8e9d77 to your computer and use it in GitHub Desktop.
Install Adobe Source Code Pro font on Linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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" |
How much of a nerd do you have to be to clone a entire git repository with mostly rubbish to just install a font?
Thanks, very useful. However, I'd recommend to use --depth 1
Thanks, this was very helpful. Can't believe you have to manually install it on Kali. This helped a lot!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks!
mkdir -p ~/.fonts/adobe-fonts/source-code-pro
should be justmkdir -p ~/.fonts/adobe-fonts
because fontconfig automatically creates.uuid
files. This makes thegit
command fail because the dir is nonempty.