From 79e415e0eda32029bdda6b44307ab589af7d66b8 Mon Sep 17 00:00:00 2001 From: Vincent Klaiber Date: Tue, 28 Apr 2015 08:24:33 +0200 Subject: 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. --- .aliases | 2 +- brew.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.aliases b/.aliases index daca01b..1313fe5 100644 --- a/.aliases +++ b/.aliases @@ -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" diff --git a/brew.sh b/brew.sh index 0efbd35..101f3b4 100755 --- a/brew.sh +++ b/brew.sh @@ -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`. -- cgit v1.2.3