aboutsummaryrefslogtreecommitdiffstats
path: root/completions/zsh/_brew
diff options
context:
space:
mode:
Diffstat (limited to 'completions/zsh/_brew')
-rw-r--r--completions/zsh/_brew7
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