aboutsummaryrefslogtreecommitdiffstats
path: root/etc/bash_completion.d
diff options
context:
space:
mode:
Diffstat (limited to 'etc/bash_completion.d')
-rw-r--r--etc/bash_completion.d/brew8
1 files changed, 8 insertions, 0 deletions
diff --git a/etc/bash_completion.d/brew b/etc/bash_completion.d/brew
index 4f52205bc..a73397a93 100644
--- a/etc/bash_completion.d/brew
+++ b/etc/bash_completion.d/brew
@@ -119,6 +119,13 @@ _brew_complete_tap ()
__brewcomp "$(brew tap --list-official)"
}
+_brew_analytics ()
+{
+ case "$COMP_CWORD" in
+ 2) __brewcomp "off on regenerate-uuid state" ;;
+ esac
+}
+
_brew_bottle ()
{
local cur="${COMP_WORDS[COMP_CWORD]}"
@@ -586,6 +593,7 @@ _brew ()
# subcommands have their own completion functions
case "$cmd" in
--cache|--cellar|--prefix) __brew_complete_formulae ;;
+ analytics) _brew_analytics ;;
audit|cat|edit|home) __brew_complete_formulae ;;
test|unlink) __brew_complete_installed ;;
bottle) _brew_bottle ;;