diff --git a/Library/Homebrew/manpages/brew.1.md.erb b/Library/Homebrew/manpages/brew.1.md.erb index 68ec0a1912a04..22968cab0655e 100644 --- a/Library/Homebrew/manpages/brew.1.md.erb +++ b/Library/Homebrew/manpages/brew.1.md.erb @@ -162,6 +162,9 @@ User-specific environment files take precedence over prefix-specific files and prefix-specific files take precedence over system-wide files (unless `HOMEBREW_SYSTEM_ENV_TAKES_PRIORITY` is set, see below). +Note that these files do not support shell variable expansion e.g. `$HOME` or +command execution e.g. `$(cat file)`. + <%= environment_variables %> ## USING HOMEBREW BEHIND A PROXY diff --git a/docs/Manpage.md b/docs/Manpage.md index 4a334660daa92..08de85affe538 100644 --- a/docs/Manpage.md +++ b/docs/Manpage.md @@ -2080,6 +2080,9 @@ User-specific environment files take precedence over prefix-specific files and prefix-specific files take precedence over system-wide files (unless `HOMEBREW_SYSTEM_ENV_TAKES_PRIORITY` is set, see below). +Note that these files do not support shell variable expansion e.g. `$HOME` or +command execution e.g. `$(cat file)`. + - `HOMEBREW_API_DOMAIN`
Use this URL as the download mirror for Homebrew JSON API. If metadata files at that URL are temporarily unavailable, the default API domain will be used as a fallback mirror. diff --git a/manpages/brew.1 b/manpages/brew.1 index 92e3ff6af3e06..6f5f0efe2c52f 100644 --- a/manpages/brew.1 +++ b/manpages/brew.1 @@ -2956,6 +2956,9 @@ Note that environment variables must have a value set to be detected\. For examp .P User\-specific environment files take precedence over prefix\-specific files and prefix\-specific files take precedence over system\-wide files (unless \fBHOMEBREW_SYSTEM_ENV_TAKES_PRIORITY\fR is set, see below)\. . +.P +Note that these files do not support shell variable expansion e\.g\. \fB$HOME\fR or command execution e\.g\. \fB$(cat file)\fR\. +. .TP \fBHOMEBREW_API_DOMAIN\fR .