diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Contributions/brew_bash_completion.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Library/Contributions/brew_bash_completion.sh b/Library/Contributions/brew_bash_completion.sh index 5b9bef45c..52b7f6fba 100644 --- a/Library/Contributions/brew_bash_completion.sh +++ b/Library/Contributions/brew_bash_completion.sh @@ -50,10 +50,13 @@ _brew_to_completion() return ;; # Commands that take an existing brew - abv|cleanup|link|list|ln|ls|remove|rm|test|uninstall|unlink|upgrade) + abv|cleanup|link|list|ln|ls|remove|rm|test|uninstall|unlink) COMPREPLY=( $(compgen -W "$(\ls $(brew --cellar))" -- ${cur}) ) return ;; + # Commands that take an outdated brew + upgrade) + COMPREPLY=( $(compgen -W "$(brew outdated --quiet)" -- ${cur}) ) esac } |
