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
|
# Subcommand list
|
||||||
[[ ${COMP_CWORD} -eq 1 ]] && {
|
[[ ${COMP_CWORD} -eq 1 ]] && {
|
||||||
local actions="--cache --config --prefix audit cat cleanup configure create
|
local actions="--cache --cellar --config --env --prefix --repository audit cat cleanup
|
||||||
deps doctor edit home info install link list log outdated prune
|
configure create deps doctor edit fetch help home info install link list log options
|
||||||
remove search unlink update uses"
|
outdated prune search test uninstall unlink update uses"
|
||||||
local ext=$(\ls $(brew --repository)/Library/Contributions/examples |
|
local ext=$(\ls $(brew --repository)/Library/Contributions/examples |
|
||||||
sed -e "s/\.rb//g" -e "s/brew-//g")
|
sed -e "s/\.rb//g" -e "s/brew-//g")
|
||||||
COMPREPLY=( $(compgen -W "${actions} ${ext}" -- ${cur}) )
|
COMPREPLY=( $(compgen -W "${actions} ${ext}" -- ${cur}) )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user