deps was missing from bash completion
This commit is contained in:
parent
fb8707df4e
commit
43dc7c9645
@ -13,7 +13,7 @@ _brew_to_completion()
|
||||
prev="${COMP_WORDS[COMP_CWORD-1]}"
|
||||
|
||||
# We only complete unabbreviated commands...
|
||||
actions="cleanup configure create edit generate homepage info install list link options prune remove search unlink update uses"
|
||||
actions="cleanup configure create deps edit generate homepage info install list link options prune remove search unlink update uses"
|
||||
|
||||
# Subcommand list
|
||||
if [[ ( ${COMP_CWORD} -eq 1 ) && ( ${COMP_WORDS[0]} == brew ) ]] ; then
|
||||
@ -25,7 +25,7 @@ _brew_to_completion()
|
||||
|
||||
case ${prev} in
|
||||
# Commands that take a formula...
|
||||
edit|install|home|homepage|uses)
|
||||
deps|edit|install|home|homepage|uses)
|
||||
formulae=`ls ${brew_base}/Library/Formula/ | sed "s/\.rb//g"`
|
||||
COMPREPLY=( $(compgen -W "${formulae}" -- ${cur}) )
|
||||
return 0
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user