aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorGreg Sieranski2013-09-05 10:19:23 -0400
committerAdam Vandenberg2013-09-09 22:16:52 -0700
commit0b958ed607705993dc83ca0738a90ad9d12cc8c2 (patch)
tree43b6cedacc41d0f7dca1c1c2c7086d0eb340545a /Library
parent3a0204dd0b1e31f1ebfb34224e1ffb2d3ca84b8d (diff)
downloadbrew-0b958ed607705993dc83ca0738a90ad9d12cc8c2.tar.bz2
Add audit to zsh tab completion
Closes Homebrew/homebrew#22339. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Contributions/brew_zsh_completion.zsh3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Contributions/brew_zsh_completion.zsh b/Library/Contributions/brew_zsh_completion.zsh
index 2ec2cc693..e497cd11e 100644
--- a/Library/Contributions/brew_zsh_completion.zsh
+++ b/Library/Contributions/brew_zsh_completion.zsh
@@ -24,6 +24,7 @@ _brew_outdated_formulae() {
local -a _1st_arguments
_1st_arguments=(
+ 'audit:check formulae for Homebrew coding style'
'cat:display formula file for a formula'
'cleanup:uninstall unused and old versions of packages'
'create:create a new formula'
@@ -88,7 +89,7 @@ case "$words[1]" in
_brew_installed_formulae
_wanted installed_formulae expl 'installed formulae' compadd -a installed_formulae
fi ;;
- install|reinstall|home|homepage|log|info|abv|uses|cat|deps|edit|options)
+ install|reinstall|audit|home|homepage|log|info|abv|uses|cat|deps|edit|options)
_brew_all_formulae
_wanted formulae expl 'all formulae' compadd -a formulae ;;
remove|rm|uninstall|unlink|cleanup|link|ln|pin|unpin)