Update fetch bash completion
Also complete --devel and the formula's install options.
This commit is contained in:
parent
0f314f9808
commit
7f9e4e11a3
@ -168,9 +168,14 @@ _brew_diy ()
|
|||||||
_brew_fetch ()
|
_brew_fetch ()
|
||||||
{
|
{
|
||||||
local cur="${COMP_WORDS[COMP_CWORD]}"
|
local cur="${COMP_WORDS[COMP_CWORD]}"
|
||||||
|
local prv=$(__brewcomp_prev)
|
||||||
case "$cur" in
|
case "$cur" in
|
||||||
--*)
|
--*)
|
||||||
__brewcomp "--deps --force --HEAD"
|
__brewcomp "
|
||||||
|
--deps --force
|
||||||
|
--devel --HEAD
|
||||||
|
$(brew options --compact "$prv" 2>/dev/null)
|
||||||
|
"
|
||||||
return
|
return
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
Loading…
x
Reference in New Issue
Block a user