Skip to content

Commit 2bc1da7

Browse files
author
Alessandro
authored
brew: replace deprecated brew cask outdated command (ohmyzsh#9253)
1 parent 814e0b3 commit 2bc1da7

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

plugins/brew/README.md

+10-10
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@ plugins=(... brew)
1010

1111
## Aliases
1212

13-
| Alias | Command | Description |
14-
|----------|-------------------------------------------------------------|---------------------------------------------------------------------|
15-
| `brewp` | `brew pin` | Pin a specified formula so that it's not upgraded. |
16-
| `brews` | `brew list -1` | List installed formulae or the installed files for a given formula. |
17-
| `brewsp` | `brew list --pinned` | List pinned formulae, or show the version of a given formula. |
18-
| `bubo` | `brew update && brew outdated` | Update Homebrew and all formulae, then list outdated formulae. |
19-
| `bubc` | `brew upgrade && brew cleanup` | Upgrade outdated formulae, then run cleanup. |
20-
| `bubu` | `bubo && bubc` | Do the last two operations above. |
21-
| `bcubo` | `brew update && brew cask outdated` | Update Homebrew and alll formulae, then list outdated casks. |
22-
| `bcubc` | `brew cask reinstall $(brew cask outdated) && brew cleanup` | Update outdated casks, then run cleanup. |
13+
| Alias | Command | Description |
14+
|----------|------------------------------------------------------------- |---------------------------------------------------------------------|
15+
| `brewp` | `brew pin` | Pin a specified formula so that it's not upgraded. |
16+
| `brews` | `brew list -1` | List installed formulae or the installed files for a given formula. |
17+
| `brewsp` | `brew list --pinned` | List pinned formulae, or show the version of a given formula. |
18+
| `bubo` | `brew update && brew outdated` | Update Homebrew and all formulae, then list outdated formulae. |
19+
| `bubc` | `brew upgrade && brew cleanup` | Upgrade outdated formulae, then run cleanup. |
20+
| `bubu` | `bubo && bubc` | Do the last two operations above. |
21+
| `bcubo` | `brew update && brew outdated --cask` | Update Homebrew and all formulae, then list outdated casks. |
22+
| `bcubc` | `brew cask reinstall $(brew outdated --cask) && brew cleanup` | Update outdated casks, then run cleanup. |
2323

2424
## Completion
2525

plugins/brew/brew.plugin.zsh

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ alias brewsp='brew list --pinned'
44
alias bubo='brew update && brew outdated'
55
alias bubc='brew upgrade && brew cleanup'
66
alias bubu='bubo && bubc'
7-
alias bcubo='brew update && brew cask outdated'
8-
alias bcubc='brew cask reinstall $(brew cask outdated) && brew cleanup'
7+
alias bcubo='brew update && brew outdated --cask'
8+
alias bcubc='brew cask reinstall $(brew outdated --cask) && brew cleanup'

0 commit comments

Comments
 (0)