From 597ef77c206221239eefcdde5038297ad344ecba Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 27 Jul 2019 00:01:44 +0200 Subject: [PATCH] Ignore envvars prefixed with __ They are likely private. There are some public variables with single underscore prefixes, however, like _FASD_DATA and _FASD_VIMINFO. --- core/cli/env.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/cli/env.el b/core/cli/env.el index bc73c08c7..4751a4888 100644 --- a/core/cli/env.el +++ b/core/cli/env.el @@ -57,7 +57,8 @@ needs to be run once)." ;; Doom envvars "^INSECURE$" "^DEBUG$" - "^YES$") + "^YES$" + "^__") "Environment variables to not save in `doom-env-file'. Each string is a regexp, matched against variable names to omit from