Shell-Completion: recommend .bash_profile

`.bashrc` is not the right location for shell completions.
This commit is contained in:
Mike McQuaid
2019-03-30 10:01:16 +00:00
committed by GitHub
parent 372a8d4532
commit 439283c3df
+1 -1
View File
@@ -8,7 +8,7 @@ You must configure your shell to enable the completion support. This is because
## Configuring Completions in `bash`
To make Homebrew's completions available in `bash`, you must source the definitions as part of your shell startup. Add the following to your `~/.bashrc` file:
To make Homebrew's completions available in `bash`, you must source the definitions as part of your shell startup. Add the following to your `~/.bash_profile` file:
```sh
if type brew &>/dev/null; then