From 1b4dac72d3ae007ce1e6da06b00f79177232e19c Mon Sep 17 00:00:00 2001
From: Andreas Sommer
Date: Mon, 22 Aug 2022 14:59:10 +0200
Subject: [PATCH] Mention that environment variable set by program is also
listed by `os.Environ()` (#436)
Co-authored-by: Andreas Sommer
---
examples/environment-variables/environment-variables.sh | 1 +
public/environment-variables | 3 ++-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/examples/environment-variables/environment-variables.sh b/examples/environment-variables/environment-variables.sh
index 0969313..1c2e0a3 100644
--- a/examples/environment-variables/environment-variables.sh
+++ b/examples/environment-variables/environment-variables.sh
@@ -11,6 +11,7 @@ TERM_PROGRAM
PATH
SHELL
...
+FOO
# If we set `BAR` in the environment first, the running
# program picks that value up.
diff --git a/public/environment-variables b/public/environment-variables
index fb6a4a1..2859595 100644
--- a/public/environment-variables
+++ b/public/environment-variables
@@ -147,7 +147,8 @@ particular machine.
TERM_PROGRAM
PATH
SHELL
-...
+...
+FOO