Skip to content

Instantly share code, notes, and snippets.

@purcell
Last active June 13, 2020 16:35
Show Gist options
  • Save purcell/da212af783564f852a1a7cedfc9884c9 to your computer and use it in GitHub Desktop.
Save purcell/da212af783564f852a1a7cedfc9884c9 to your computer and use it in GitHub Desktop.
Mac custom-build of Iosevka with Pragmata-like features
#!/bin/sh -e
# https://github.com/be5invis/Iosevka#build-your-own-style
DIR=~/Projects/External/iosevka
if [ -d "$DIR" ]; then
(cd $DIR && git pull)
else
git clone --depth 1 https://github.com/be5invis/Iosevka $DIR
fi
cd "$DIR"
cat <<EOF > Brewfile
brew "npm"
brew "ttfautohint"
tap "caryll/tap"
brew "otfcc-mac64"
EOF
brew bundle install
brew bundle exec -- npm install
brew bundle exec -- make custom-config design='term ss08 ligset-haskell'
brew bundle exec -- make custom
cp dist/iosevka-custom/ttf/*.ttf ~/Library/Fonts/
@purcell
Copy link
Author

purcell commented Jul 26, 2017

Ugh, no idea about that, sorry @shanbhardwaj. I ran this script on a fresh machine earlier this week with no problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment