Created
August 30, 2018 03:39
-
-
Save onyxmueller/11b60967992d6e1501810e02227c8276 to your computer and use it in GitHub Desktop.
A shell script that cleans up and updates Homebrew.
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 | |
# setup path | |
PATH=/usr/local/bin:/usr/bin:/bin | |
# remove stale/old files and update Homebrew | |
brew cleanup | logger -s | |
brew cask cleanup | logger -s | |
brew update | logger -s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment