Answer what profile file should be used clearer

Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Ishan Goel 2020-07-21 12:45:45 +04:00 committed by GitHub
parent a613c1acd2
commit f7580f109e
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`
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:
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` (or, if it doesn't exist, `~/.profile):
```sh
if type brew &>/dev/null; then