mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
Answer what profile file should be used clearer
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
a613c1acd2
commit
f7580f109e
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user