diff options
| author | Timothee Cour | 2017-02-07 23:25:02 -0800 | 
|---|---|---|
| committer | Timothee Cour | 2017-02-11 16:38:06 -0800 | 
| commit | ae829ed229395159adf6f1f17fb26518ec27fca6 (patch) | |
| tree | f8be41af53a8d4e1f5a6e01834eba111d967f2e5 /completions/zsh/_brew | |
| parent | cf18a999f1b6b0d8932260ed1ff9ede30c338515 (diff) | |
| download | brew-ae829ed229395159adf6f1f17fb26518ec27fca6.tar.bz2 | |
add brew where command
Diffstat (limited to 'completions/zsh/_brew')
| -rw-r--r-- | completions/zsh/_brew | 7 | 
1 files changed, 7 insertions, 0 deletions
diff --git a/completions/zsh/_brew b/completions/zsh/_brew index 9f7b8ebe5..8b1ac2ede 100644 --- a/completions/zsh/_brew +++ b/completions/zsh/_brew @@ -120,6 +120,7 @@ __brew_common_commands() {      'update:fetch latest version of Homebrew and all formulae'      'upgrade:upgrade outdated formulae'      'uses:show formulae which depend on a formula' +    'where:location of formulae'      '--cellar:brew cellar'      '--env:brew environment'      '--repository:brew repository' @@ -793,6 +794,12 @@ _brew_vendor_install() {      '--target'  } + +# brew where formulae: +_brew_where() { +  __brew_formulae +} +  # the main completion function  _brew() {    local curcontext="$curcontext" state state_descr line expl  | 
