Skip to content

Instantly share code, notes, and snippets.

@clakeb
Last active August 29, 2015 14:16
Show Gist options
  • Save clakeb/2d72ddb6687848b09e6f to your computer and use it in GitHub Desktop.
Save clakeb/2d72ddb6687848b09e6f to your computer and use it in GitHub Desktop.
Upgrade all casks. **Warning** Takes a while. Make sure you have stable internets.
# Run "upcask" in the terminal and you can upgrade every cask you have installed. Run once a week.
function upcask () {
for cask in `brew cask list`; do
brew cask install $cask --force
done
# I use TotalFinder so I like to restart after an upgrade.
open -a TotalFinder
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment