Skip to content
Snippets Groups Projects
Commit d88b5629 authored by Jack Nagel's avatar Jack Nagel Committed by Adam Vandenberg
Browse files

Update bash completion script

parent cfd3bc0b
No related branches found
No related tags found
No related merge requests found
......@@ -9,9 +9,9 @@ _brew_to_completion()
# Subcommand list
[[ ${COMP_CWORD} -eq 1 ]] && {
local actions="--cache --config --prefix audit cat cleanup configure create
deps doctor edit home info install link list log outdated prune
remove search unlink update uses"
local actions="--cache --cellar --config --env --prefix --repository audit cat cleanup
configure create deps doctor edit fetch help home info install link list log options
outdated prune search test uninstall unlink update uses"
local ext=$(\ls $(brew --repository)/Library/Contributions/examples |
sed -e "s/\.rb//g" -e "s/brew-//g")
COMPREPLY=( $(compgen -W "${actions} ${ext}" -- ${cur}) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment