Skip to content

Instantly share code, notes, and snippets.

@rmtsrc
Last active December 19, 2016 18:20
Show Gist options
  • Save rmtsrc/8b2385b3c71ff3a4e829e1b5cf0e9ac6 to your computer and use it in GitHub Desktop.
Save rmtsrc/8b2385b3c71ff3a4e829e1b5cf0e9ac6 to your computer and use it in GitHub Desktop.
# Updates, Homebrew & Cask
alias update='mac-up && brew-up && apm update --confirm false'
alias mac-up='sudo softwareupdate --install --all'
alias brew-cask-upgrade='for c in `brew cask list | grep -v "(\!)"`; do ! brew cask info $c | grep -qF "Not installed" || brew cask install $c; done'
alias brew-up='brew update && brew upgrade && brew-cask-upgrade && brew cask cleanup && brew cleanup'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment