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!
This commit is contained in:
parent
c98da90662
commit
54506f1705
1 changed files with 4 additions and 2 deletions
|
@ -20,8 +20,10 @@ alias brewC='brew cleanup --force'
|
|||
alias brewi='brew install'
|
||||
alias brewl='brew list'
|
||||
alias brews='brew search'
|
||||
alias brewu='brew upgrade'
|
||||
alias brewU='brew update && brew upgrade'
|
||||
brewu() {
|
||||
brew update
|
||||
[[ -z $1 ]] && brew upgrade --all || brew upgrade "$@"
|
||||
}
|
||||
alias brewx='brew remove'
|
||||
|
||||
# Homebrew Cask
|
||||
|
|
Loading…
Add table
Reference in a new issue