Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
github
oh-my-zsh
Commits
2bc1da7f
Unverified
Commit
2bc1da7f
authored
Sep 14, 2020
by
Alessandro
Committed by
GitHub
Sep 14, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
brew: replace deprecated brew cask outdated command (#9253)
parent
814e0b3c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
12 deletions
+12
-12
README.md
plugins/brew/README.md
+10
-10
brew.plugin.zsh
plugins/brew/brew.plugin.zsh
+2
-2
No files found.
plugins/brew/README.md
View file @
2bc1da7f
...
@@ -10,16 +10,16 @@ plugins=(... brew)
...
@@ -10,16 +10,16 @@ plugins=(... brew)
## Aliases
## Aliases
| Alias | Command | Description |
| Alias | Command
| Description |
|----------|-------------------------------------------------------------|---------------------------------------------------------------------|
|----------|-------------------------------------------------------------
|---------------------------------------------------------------------|
|
`brewp`
|
`brew pin`
| Pin a specified formula so that it's not upgraded. |
|
`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. |
|
`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. |
|
`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. |
|
`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. |
|
`bubc`
|
`brew upgrade && brew cleanup`
| Upgrade outdated formulae, then run cleanup. |
|
`bubu`
|
`bubo && bubc`
| Do the last two operations above. |
|
`bubu`
|
`bubo && bubc`
| Do the last two operations above. |
|
`bcubo`
|
`brew update && brew
cask outdated`
| Update Homebrew and al
ll formulae, then list outdated casks. |
|
`bcubo`
|
`brew update && brew
outdated --cask`
| Update Homebrew and a
ll formulae, then list outdated casks. |
|
`bcubc`
|
`brew cask reinstall $(brew
cask outdated
) && brew cleanup`
| Update outdated casks, then run cleanup. |
|
`bcubc`
|
`brew cask reinstall $(brew
outdated --cask
) && brew cleanup`
| Update outdated casks, then run cleanup. |
## Completion
## Completion
...
...
plugins/brew/brew.plugin.zsh
View file @
2bc1da7f
...
@@ -4,5 +4,5 @@ alias brewsp='brew list --pinned'
...
@@ -4,5 +4,5 @@ alias brewsp='brew list --pinned'
alias
bubo
=
'brew update && brew outdated'
alias
bubo
=
'brew update && brew outdated'
alias
bubc
=
'brew upgrade && brew cleanup'
alias
bubc
=
'brew upgrade && brew cleanup'
alias
bubu
=
'bubo && bubc'
alias
bubu
=
'bubo && bubc'
alias
bcubo
=
'brew update && brew
cask outdated
'
alias
bcubo
=
'brew update && brew
outdated --cask
'
alias
bcubc
=
'brew cask reinstall $(brew
cask outdated
) && brew cleanup'
alias
bcubc
=
'brew cask reinstall $(brew
outdated --cask
) && brew cleanup'
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment