Created
July 22, 2015 16:38
-
-
Save stephanschubert/8cd2a49f70e440a4cdcd to your computer and use it in GitHub Desktop.
Re-install everything brew'd.
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/bash | |
for i in `brew list -1` | |
do | |
if [[ "$i" == python.* ]] || [[ "$i" == ruby.* ]] | |
then | |
continue | |
fi | |
brew rm --force $i && brew install $i | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment