From 07a4d4ba320e760a6536940c291fe5e35e342f63 Mon Sep 17 00:00:00 2001
From: Andreas Sommer
Date: Sun, 21 Aug 2022 19:55:01 +0200
Subject: [PATCH] Mention that environment variable set by program is also
listed by `os.Environ()`
---
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