diff options
author | Vincent Klaiber <vinkla@users.noreply.github.com> | 2015-04-28 08:24:33 +0200 |
---|---|---|
committer | Mathias Bynens <mathias@qiwi.be> | 2015-04-30 13:54:21 +0200 |
commit | 79e415e0eda32029bdda6b44307ab589af7d66b8 (patch) | |
tree | 69467c3d43769978b42349bd8e1a517a2a8a9ea5 | |
parent | 4ce64aa819c957d7d45a8ffea462c1d0a5e16f45 (diff) | |
download | dotfiles-79e415e0eda32029bdda6b44307ab589af7d66b8.tar.gz dotfiles-79e415e0eda32029bdda6b44307ab589af7d66b8.tar.bz2 dotfiles-79e415e0eda32029bdda6b44307ab589af7d66b8.zip |
Add `--all` to `brew upgrade`
Homebrew recently started to hint that everyone should update their workflows for `brew upgrade`:
> brew upgrade with no arguments will change behaviour soon! It currently upgrades all formula but this will soon change to require `--all`. Please update any workflows, documentation and scripts!
https://github.com/Homebrew/homebrew/commit/9032f165bec3d0c7452169093fab32578816043b
Closes #531.
-rw-r--r-- | .aliases | 2 | ||||
-rwxr-xr-x | brew.sh | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -45,7 +45,7 @@ alias week='date +%V' alias timer='echo "Timer started. Stop with Ctrl-D." && date && time cat && date' # Get OS X Software Updates, and update installed Ruby gems, Homebrew, npm, and their installed packages -alias update='sudo softwareupdate -i -a; brew update; brew upgrade; brew cleanup; npm install npm -g; npm update -g; sudo gem update --system; sudo gem update' +alias update='sudo softwareupdate -i -a; brew update; brew upgrade --all; brew cleanup; npm install npm -g; npm update -g; sudo gem update --system; sudo gem update' # IP addresses alias ip="dig +short myip.opendns.com @resolver1.opendns.com" @@ -12,7 +12,7 @@ while true; do sudo -n true; sleep 60; kill -0 "$$" || exit; done 2>/dev/null & brew update # Upgrade any already-installed formulae. -brew upgrade +brew upgrade --all # Install GNU core utilities (those that come with OS X are outdated). # Don’t forget to add `$(brew --prefix coreutils)/libexec/gnubin` to `$PATH`. |