Info also takes installed brews
This commit is contained in:
parent
7478ff7804
commit
fdc091ed42
@ -19,7 +19,7 @@ _brew_to_completion()
|
|||||||
brew_base=`dirname ${brew_base}`/..
|
brew_base=`dirname ${brew_base}`/..
|
||||||
|
|
||||||
# Commands that take an existing brew...
|
# Commands that take an existing brew...
|
||||||
if [[ ($prev == "list") || ($prev == "ln") || ($prev == "rm") ]] ; then
|
if [[ ($prev == "list") || ($prev == "ln") || ($prev == "rm") || ($prev == "info") ]] ; then
|
||||||
cellar_contents=`ls ${brew_base}/Cellar/`
|
cellar_contents=`ls ${brew_base}/Cellar/`
|
||||||
COMPREPLY=( $(compgen -W "${cellar_contents}" -- ${cur}) )
|
COMPREPLY=( $(compgen -W "${cellar_contents}" -- ${cur}) )
|
||||||
return 0
|
return 0
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user