Looks like bash-completion is already a dependency for gradle-completion so brew install gradle-completion should be enough (instead of brew install bash-completion gradle-completion as currently specified in the documentation.
It would be awesome if the step echo '[ -f $(brew --prefix)/etc/bash_completion ] && . $(brew --prefix)/etc/bash_completion' >> ~/.bash_profile could also be handled by the installation.
Looks like
bash-completion
is already a dependency forgradle-completion
sobrew install gradle-completion
should be enough (instead ofbrew install bash-completion gradle-completion
as currently specified in the documentation.It would be awesome if the step
echo '[ -f $(brew --prefix)/etc/bash_completion ] && . $(brew --prefix)/etc/bash_completion' >> ~/.bash_profile
could also be handled by the installation.