1
0
Fork 0

omit warning of brew upgrade

In newly version of homebrew when you execute 'brew upgrade' you will
get the following:

Warning: 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!
pull/858/head
Tevin Zhang 10 years ago
parent c98da90662
commit 54506f1705

@ -20,8 +20,10 @@ alias brewC='brew cleanup --force'
alias brewi='brew install' alias brewi='brew install'
alias brewl='brew list' alias brewl='brew list'
alias brews='brew search' alias brews='brew search'
alias brewu='brew upgrade' brewu() {
alias brewU='brew update && brew upgrade' brew update
[[ -z $1 ]] && brew upgrade --all || brew upgrade "$@"
}
alias brewx='brew remove' alias brewx='brew remove'
# Homebrew Cask # Homebrew Cask

Loading…
Cancel
Save