Clarify which file the completion code should be added to

Co-authored-by: Shaun Jackman <sjackman@gmail.com>
This commit is contained in:
Ishan Goel 2020-07-16 21:11:35 +04:00 committed by GitHub
parent 7115427e78
commit f9d77c9d89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,7 @@ You must configure your shell to enable its completion support. This is because
## Configuring Completions in `bash` ## Configuring Completions in `bash`
To make Homebrew's completions available in `bash`, you must source the definitions as part of your shell's startup. Add the following to your `~/.profile` or `~/.bash_profile` file: To make Homebrew's completions available in `bash`, you must source the definitions as part of your shell's startup. Add the following to your `~/.bash_profile` if it exists or `~/.profile` otherwise:
```sh ```sh
if type brew &>/dev/null; then if type brew &>/dev/null; then