diff options
| author | Jozef Izso | 2013-07-08 13:25:20 +0200 |
|---|---|---|
| committer | Adam Vandenberg | 2013-07-08 07:08:37 -0700 |
| commit | 990de67129b64aa5dba5d494a21d1c30a93bb6c5 (patch) | |
| tree | 9e404d85aa9f7fd4977b37e644b67efff39d4474 /Library | |
| parent | 0f23c223d6a88fed7e3d0df81b60a4953ff0bc60 (diff) | |
| download | homebrew-990de67129b64aa5dba5d494a21d1c30a93bb6c5.tar.bz2 | |
Completion for brew untap command in zsh shell.
Closes #21074.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Contributions/brew_zsh_completion.zsh | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Library/Contributions/brew_zsh_completion.zsh b/Library/Contributions/brew_zsh_completion.zsh index 7ca77ebf8..91446e7b6 100644 --- a/Library/Contributions/brew_zsh_completion.zsh +++ b/Library/Contributions/brew_zsh_completion.zsh @@ -14,6 +14,10 @@ _brew_installed_formulae() { installed_formulae=(`brew list`) } +_brew_installed_taps() { + installed_taps=(`brew tap`) +} + _brew_outdated_formulae() { outdated_formulae=(`brew outdated`) } @@ -49,7 +53,7 @@ _1st_arguments=( ) local expl -local -a formulae installed_formulae outdated_formulae +local -a formulae installed_formulae installed_taps outdated_formulae _arguments \ '(-v)-v[verbose]' \ @@ -92,4 +96,7 @@ case "$words[1]" in upgrade) _brew_outdated_formulae _wanted outdated_formulae expl 'outdated formulae' compadd -a outdated_formulae ;; + untap) + _brew_installed_taps + _wanted installed_taps expl 'installed taps' compadd -a installed_tapsĀ ;; esac |
