We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents dd3e642 + 3efedbc commit 65ded76Copy full SHA for 65ded76
1 file changed
bin/brew
@@ -152,6 +152,9 @@ export_homebrew_env_file "${HOMEBREW_PREFIX}/etc/homebrew/brew.env"
152
if [[ -n "${XDG_CONFIG_HOME-}" ]]
153
then
154
HOMEBREW_USER_CONFIG_HOME="${XDG_CONFIG_HOME}/homebrew"
155
+elif [[ -n "${HOMEBREW_XDG_CONFIG_HOME-}" ]]
156
+then
157
+ HOMEBREW_USER_CONFIG_HOME="${HOMEBREW_XDG_CONFIG_HOME}/homebrew"
158
else
159
HOMEBREW_USER_CONFIG_HOME="${HOME}/.homebrew"
160
fi
@@ -213,6 +216,7 @@ USED_BY_HOMEBREW_VARS=(
213
216
VSCODE_IPC_HOOK_CLI
214
217
WSL_DISTRO_NAME
215
218
XDG_CACHE_HOME
219
+ XDG_CONFIG_HOME
220
XDG_DATA_DIRS
221
XDG_RUNTIME_DIR
222
ZDOTDIR
0 commit comments