Skip to content

Commit

Permalink
Add --all to brew upgrade
Browse files Browse the repository at this point in the history
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!

Homebrew/legacy-homebrew@9032f16

Closes mathiasbynens#531.
  • Loading branch information
vinkla authored and mathiasbynens committed Apr 30, 2015
1 parent 4ce64aa commit 79e415e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .aliases
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion brew.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down

0 comments on commit 79e415e

Please sign in to comment.