From 1733a78133b6d455738308db6455f66a5d37b984 Mon Sep 17 00:00:00 2001 From: Colin Dean Date: Fri, 14 Feb 2025 10:25:32 -0500 Subject: [PATCH] Prevent copying w/o reading by removing valid envvars and noting dirs Co-authored-by: Eric Knibbe --- docs/Installation.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/Installation.md b/docs/Installation.md index 1a33e19a54..56910eea63 100644 --- a/docs/Installation.md +++ b/docs/Installation.md @@ -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 "/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.