Prevent copying w/o reading by removing valid envvars and noting dirs

Co-authored-by: Eric Knibbe <enk3@outlook.com>
This commit is contained in:
Colin Dean 2025-02-14 10:25:32 -05:00 committed by GitHub
parent 33fde6faec
commit 1733a78133
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -103,11 +103,12 @@ While it's difficult to document the precise path for every shell,
typically, what follows must be in your shell's `rc` or `profile` file:
```sh
eval "${HOMEBREW_PREFIX}/bin/brew shellenv)"
eval "<Homebrew prefix path>/bin/brew shellenv)"
```
where `${HOMEBREW_PREFIX}` is the Homebrew installation directory.
Replace this with the installation directory on your system.
See the [FAQ about default installation locations](FAQ.md#why-should-i-install-homebrew-in-the-default-location).
For more insight, re-run the installer or inspect [the installer's source](https://github.com/Homebrew/install/blob/deacfa6a6e62e5f4002baf9e1fac7a96e9aa5d41/install.sh#L1072-L1088)
to see how the installer constructs the path it recommends.