Update bash completions.
This commit is contained in:
parent
a3668bef76
commit
1e3dff7b8e
@ -13,7 +13,7 @@ _brew_to_completion()
|
||||
prev="${COMP_WORDS[COMP_CWORD-1]}"
|
||||
|
||||
# We only complete unabbreviated commands...
|
||||
actions="edit generate homepage info install list link uninstall"
|
||||
actions="configure create edit generate homepage info install list link options prune remove search unlink update"
|
||||
|
||||
# Subcommand list
|
||||
if [[ ( ${COMP_CWORD} -eq 1 ) && ( ${COMP_WORDS[0]} == brew ) ]] ; then
|
||||
@ -33,7 +33,7 @@ _brew_to_completion()
|
||||
;;
|
||||
|
||||
# Commands that take an existing brew...
|
||||
abv|info|list|link|ls|ln|rm|remove|uninstall)
|
||||
abv|info|list|link|ls|ln|rm|remove|uninstall|unlink)
|
||||
cellar_contents=`ls ${brew_base}/Cellar/`
|
||||
COMPREPLY=( $(compgen -W "${cellar_contents}" -- ${cur}) )
|
||||
return 0
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user