diff options
| author | James Conroy-Finn | 2010-09-25 21:17:05 +0100 |
|---|---|---|
| committer | Adam Vandenberg | 2010-09-25 22:12:53 -0700 |
| commit | 7eba261e4b18e5402b85c1c031d520de3c56eb9b (patch) | |
| tree | 7f1dcddf863e0f20bf119b603103758a8c24d2e9 /Library | |
| parent | 396a0ab890c35df82a7b1caf38ac6590bc4d1f52 (diff) | |
| download | homebrew-7eba261e4b18e5402b85c1c031d520de3c56eb9b.tar.bz2 | |
Fix brew list completion and add support for --versions switch
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Contributions/brew_zsh_completion.zsh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Contributions/brew_zsh_completion.zsh b/Library/Contributions/brew_zsh_completion.zsh index b7356ee7f..ab69b213f 100644 --- a/Library/Contributions/brew_zsh_completion.zsh +++ b/Library/Contributions/brew_zsh_completion.zsh @@ -56,11 +56,12 @@ case "$words[1]" in list) _arguments \ '(--unbrewed)--unbrewed[files in brew --prefix not controlled by brew]' \ + '(--versions)--versions[list all installed versions of a formula]' \ '1: :->forms' && return 0 if [[ "$state" == forms ]]; then _brew_installed_formulae - _requested installed_formulae expl 'installed formulae' compadd -a installed_formulae + _wanted installed_formulae expl 'installed formulae' compadd -a installed_formulae fi ;; install|home|log|info|uses|cat|deps) _brew_all_formulae |
