1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2026-01-17 23:57:52 +08:00

Compare commits

...

2 Commits

Author SHA1 Message Date
Alessandro
2bc1da7f37
brew: replace deprecated brew cask outdated command (#9253) 2020-09-14 20:32:23 +02:00
0xflotus
814e0b3c25
docs: fix small typo in README (#9255) 2020-09-14 17:14:14 +02:00
3 changed files with 13 additions and 13 deletions

View File

@ -92,7 +92,7 @@ _Note that the plugins are separated by whitespace (spaces, tabs, new lines...).
#### Using Plugins #### Using Plugins
Each plugin includes a __README__, documenting it. This README should show the aliases (if the plugin adds any) and extra goodies that are inclued in that particular plugin. Each plugin includes a __README__, documenting it. This README should show the aliases (if the plugin adds any) and extra goodies that are included in that particular plugin.
### Themes ### Themes

View File

@ -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 alll formulae, then list outdated casks. | | `bcubo` | `brew update && brew outdated --cask` | Update Homebrew and all 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

View File

@ -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'