manpage: note env files do not support expansion.

Fixes #16027
This commit is contained in:
Mike McQuaid 2023-09-26 13:09:46 +01:00
parent f1d345a60e
commit 10c47af8c7
No known key found for this signature in database
GPG Key ID: 3338A31AFDB1D829
3 changed files with 9 additions and 0 deletions

View File

@ -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 prefix-specific files take precedence over system-wide files (unless
`HOMEBREW_SYSTEM_ENV_TAKES_PRIORITY` is set, see below). `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 %> <%= environment_variables %>
## USING HOMEBREW BEHIND A PROXY ## USING HOMEBREW BEHIND A PROXY

View File

@ -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 prefix-specific files take precedence over system-wide files (unless
`HOMEBREW_SYSTEM_ENV_TAKES_PRIORITY` is set, see below). `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` - `HOMEBREW_API_DOMAIN`
<br>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. <br>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.

View File

@ -2956,6 +2956,9 @@ Note that environment variables must have a value set to be detected\. For examp
.P .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)\. 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 .TP
\fBHOMEBREW_API_DOMAIN\fR \fBHOMEBREW_API_DOMAIN\fR
. .