Last active
January 12, 2019 00:12
-
-
Save shannonwells/28a5661994aecf341600dd18617781be to your computer and use it in GitHub Desktop.
Install script 2: brews.sh - installs all the brew formulas and casks specified in each of 3 files: formulas, casks, fonts.
This file contains hidden or 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 | |
# Make or touch three files: formulas, casks, and fonts. | |
# In them, list their respective names of what you want installed. | |
echo "\033[1;37;45m \033[m" | |
echo "\033[1;37;45m installing formulas \033[m" | |
echo "\033[1;37;45m \033[m" | |
FORMULAS=`cat ./formulas` | |
for formula in $FORMULAS ; do | |
( brew install $formula ) | |
done | |
echo "\033[1;37;44m \033[m" | |
echo "\033[1;37;44m installing casks \033[m" | |
echo "\033[1;37;44m \033[m" | |
CASKS=`cat ./casks` | |
brew tap caskroom/cask | |
for cask in $CASKS; do | |
( brew cask install $cask ) | |
done | |
echo "\033[1;37;42m \033[m" | |
echo "\033[1;37;42m installing fonts \033[m" | |
echo "\033[1;37;42m \033[m" | |
FONTS=`cat ./fonts` | |
brew tap caskroom/fonts | |
for font in $FONTS; do | |
( brew cask install $font ) | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment