Diff
1diff --git a/plugins/brew/README.md b/plugins/brew/README.md
2index c129a7652fe45be10c1377c0a0c0728be123d5f1..44af0522549170eea887d02bade203644e1e41c6 100644
3--- a/plugins/brew/README.md
4+++ b/plugins/brew/README.md
5@@ -3,19 +3,27 @@
6 The plugin adds several aliases for common [brew](https://brew.sh) commands.
7
8 To use it, add `brew` to the plugins array of your zshrc file:
9-```
10+
11+```zsh
12 plugins=(... brew)
13 ```
14
15 ## Aliases
16
17-| Alias | Command | Description |
18-|--------|----------------------|---------------|
19-| brewp | `brew pin` | Pin a specified formulae, preventing them from being upgraded when issuing the brew upgrade <formulae> command. |
20-| brews | `brew list -1` | List installed formulae, one entry per line, or the installed files for a given formulae. |
21-| brewsp | `brew list --pinned` | Show the versions of pinned formulae, or only the specified (pinned) formulae if formulae are given. |
22-| bubo | `brew update && brew outdated` | Fetch the newest version of Homebrew and all formulae, then list outdated formulae. |
23-| bubc | `brew upgrade && brew cleanup` | Upgrade outdated, unpinned brews (with existing install options), then removes stale lock files and outdated downloads for formulae and casks, and removes old versions of installed formulae. |
24-| bubu | `bubo && bubc` | Updates Homebrew, lists outdated formulae, upgrades oudated and unpinned formulae, and removes stale and outdated downloads and versions. |
25-| bcubo | `brew update && brew cask outdated` | Fetch the newest version of Homebrew and all formulae, then list outdated casks. |
26-| bcubc | `brew cask reinstall $(brew cask outdated) && brew cleanup` | Updates outdated casks, then runs cleanup. |
27+| Alias | Command | Description |
28+|----------|-------------------------------------------------------------|---------------------------------------------------------------------|
29+| `brewp` | `brew pin` | Pin a specified formula so that it's not upgraded. |
30+| `brews` | `brew list -1` | List installed formulae or the installed files for a given formula. |
31+| `brewsp` | `brew list --pinned` | List pinned formulae, or show the version of a given formula. |
32+| `bubo` | `brew update && brew outdated` | Update Homebrew and all formulae, then list outdated formulae. |
33+| `bubc` | `brew upgrade && brew cleanup` | Upgrade outdated formulae, then run cleanup. |
34+| `bubu` | `bubo && bubc` | Do the last two operations above. |
35+| `bcubo` | `brew update && brew cask outdated` | Update Homebrew and alll formulae, then list outdated casks. |
36+| `bcubc` | `brew cask reinstall $(brew cask outdated) && brew cleanup` | Update outdated casks, then run cleanup. |
37+
38+## Completion
39+
40+With the release of Homebrew 1.0, they decided to bundle the zsh completion as part of the
41+brew installation, so we no longer ship it with the brew plugin; now it only has brew
42+aliases. If you find that brew completion no longer works, make sure you have your Homebrew
43+installation fully up to date.
44diff --git a/plugins/brew/brew.plugin.zsh b/plugins/brew/brew.plugin.zsh
45index cfbaa3480eec781f762b8d61ae90b9335be2e50e..fdea76c747abd0be9a0d1aaf8b202f54b35596f8 100644
46--- a/plugins/brew/brew.plugin.zsh
47+++ b/plugins/brew/brew.plugin.zsh
48@@ -6,19 +6,3 @@ alias bubc='brew upgrade && brew cleanup'
49 alias bubu='bubo && bubc'
50 alias bcubo='brew update && brew cask outdated'
51 alias bcubc='brew cask reinstall $(brew cask outdated) && brew cleanup'
52-
53-if command mkdir "$ZSH_CACHE_DIR/.brew-completion-message" 2>/dev/null; then
54- print -P '%F{yellow}'Oh My Zsh brew plugin:
55- cat <<-'EOF'
56-
57- With the advent of their 1.0 release, Homebrew has decided to bundle
58- the zsh completion as part of the brew installation, so we no longer
59- ship it with the brew plugin; now it only has brew aliases.
60-
61- If you find that brew completion no longer works, make sure you have
62- your Homebrew installation fully up to date.
63-
64- You will only see this message once.
65- EOF
66- print -P '%f'
67-fi