summaryrefslogtreecommitdiff
path: root/plugins/brew
diff options
context:
space:
mode:
authorAlessandro <alessandro.buonerba@ovoenergy.com>2020-09-14 19:32:23 +0100
committerGitHub <noreply@github.com>2020-09-14 20:32:23 +0200
commit2bc1da7f377e78cdfa74190ffe5baf6c814d0fce (patch)
tree7bab5122cf3722284f5cc8bd4701ad2910e26136 /plugins/brew
parent814e0b3c25316879b2f86e017701449cc2302ad4 (diff)
downloadzsh-2bc1da7f377e78cdfa74190ffe5baf6c814d0fce.tar.gz
zsh-2bc1da7f377e78cdfa74190ffe5baf6c814d0fce.tar.bz2
zsh-2bc1da7f377e78cdfa74190ffe5baf6c814d0fce.zip
brew: replace deprecated brew cask outdated command (#9253)
Diffstat (limited to 'plugins/brew')
-rw-r--r--plugins/brew/README.md20
-rw-r--r--plugins/brew/brew.plugin.zsh4
2 files changed, 12 insertions, 12 deletions
diff --git a/plugins/brew/README.md b/plugins/brew/README.md
index 44af05225..398d3263c 100644
--- a/plugins/brew/README.md
+++ b/plugins/brew/README.md
@@ -10,16 +10,16 @@ plugins=(... brew)
## Aliases
-| Alias | Command | Description |
-|----------|-------------------------------------------------------------|---------------------------------------------------------------------|
-| `brewp` | `brew pin` | Pin a specified formula so that it's not upgraded. |
-| `brews` | `brew list -1` | List installed formulae or the installed files for a given formula. |
-| `brewsp` | `brew list --pinned` | List pinned formulae, or show the version of a given formula. |
-| `bubo` | `brew update && brew outdated` | Update Homebrew and all formulae, then list outdated formulae. |
-| `bubc` | `brew upgrade && brew cleanup` | Upgrade outdated formulae, then run cleanup. |
-| `bubu` | `bubo && bubc` | Do the last two operations above. |
-| `bcubo` | `brew update && brew cask outdated` | Update Homebrew and alll formulae, then list outdated casks. |
-| `bcubc` | `brew cask reinstall $(brew cask outdated) && brew cleanup` | Update outdated casks, then run cleanup. |
+| Alias | Command | Description |
+|----------|------------------------------------------------------------- |---------------------------------------------------------------------|
+| `brewp` | `brew pin` | Pin a specified formula so that it's not upgraded. |
+| `brews` | `brew list -1` | List installed formulae or the installed files for a given formula. |
+| `brewsp` | `brew list --pinned` | List pinned formulae, or show the version of a given formula. |
+| `bubo` | `brew update && brew outdated` | Update Homebrew and all formulae, then list outdated formulae. |
+| `bubc` | `brew upgrade && brew cleanup` | Upgrade outdated formulae, then run cleanup. |
+| `bubu` | `bubo && bubc` | Do the last two operations above. |
+| `bcubo` | `brew update && brew outdated --cask` | Update Homebrew and all formulae, then list outdated casks. |
+| `bcubc` | `brew cask reinstall $(brew outdated --cask) && brew cleanup` | Update outdated casks, then run cleanup. |
## Completion
diff --git a/plugins/brew/brew.plugin.zsh b/plugins/brew/brew.plugin.zsh
index fdea76c74..c8b1e3568 100644
--- a/plugins/brew/brew.plugin.zsh
+++ b/plugins/brew/brew.plugin.zsh
@@ -4,5 +4,5 @@ alias brewsp='brew list --pinned'
alias bubo='brew update && brew outdated'
alias bubc='brew upgrade && brew cleanup'
alias bubu='bubo && bubc'
-alias bcubo='brew update && brew cask outdated'
-alias bcubc='brew cask reinstall $(brew cask outdated) && brew cleanup'
+alias bcubo='brew update && brew outdated --cask'
+alias bcubc='brew cask reinstall $(brew outdated --cask) && brew cleanup'