Last active
January 27, 2016 19:53
-
-
Save pietergreyling/43b00966f0a775a84ac8 to your computer and use it in GitHub Desktop.
Mac OS X Homebrew shell script that I use in my war on entropy.
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/bash | |
#-- | |
#-- file: mybrew.sh | |
#-- auth: [@pietergreyling:20151028] | |
#-- desc: Mac OS X Homebrew shell script that I use in my war on entropy. | |
#-- exec: To clean up and verify your Homebrew setup, in a terminal run: $ ./mybrew.sh | |
clear | |
echo "-- Updating your Homebrew installation at: " && brew --prefix | |
sudo chown -R $(whoami):admin /usr/local | |
brew update && brew upgrade | |
echo "-- \$HOMEBREW_INSTALL: $HOMEBREW_INSTALL" | |
brew prune | |
brew doctor |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To clean up and verify your Homebrew setup, in a terminal session run:
$ ./mybrew.sh