From d12cc094ce2c86b005e62b571fe842d5e90a0802 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Thu, 23 Jan 2025 14:57:41 +0000 Subject: [PATCH] README: document how to set environment variables. Ok, this is just Ruby but: folks aren't necessarily aware this is Ruby, how to do this or why they'd do so so let's give them some pointers. --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 3e1f82c30..29d023968 100644 --- a/README.md +++ b/README.md @@ -69,6 +69,10 @@ whalebrew "whalebrew/wget" # 'vscode --install-extension' vscode "GitHub.codespaces" + +# Set an environment variable to be used e.g. inside `brew bundle exec` +# Mostly only `HOMEBREW_*` variables are passed through to other `brew` commands. +ENV["SOME_ENV_VAR"] = "some_value" ``` ## Versions and lockfiles