brew-completion: bash completion function for Homebrew (brew command) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Copyright (c)2010 Alexander Barton This is free software and published under the terms of the GNU General Public License, see the file COPYING for details. I. Requirements You need the bash-completion package to use these extensions, which you can install using the "brew install bash-completion" command. II. Installation using Homebrew (brew command) If you have a "brew-completion" formula, you can use the following command: "brew install brew-completion". This will automatically install the required bash-completion package first if you havn't installed it already. III. Manual installation Copy or link the "brew-completion.sh" script using the name "brew" to the bash-completion.d directory, e. g. "/opt/homebrew/etc/bash_completion.d/".