Update bash completion script
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
cfd3bc0b7e
commit
d88b562926
@ -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}) )
|
||||
|
Loading…
x
Reference in New Issue
Block a user