fix(cli): doom env: deny DOOMPROFILE more precisely

The former regexp was too permissive. Not that it was an issue, but it's
one thing less to worry about.
This commit is contained in:
Henrik Lissner 2022-09-25 13:29:37 +02:00
parent 9c72b0e81f
commit 1a1e7b808b
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -33,7 +33,7 @@
"^SSH_\\(AUTH_SOCK\\|AGENT_PID\\)$" "^\\(SSH\\|GPG\\)_TTY$"
"^GPG_AGENT_INFO$"
;; Internal Doom envvars
"^DEBUG$" "^INSECURE$" "^\\(EMACS\\|DOOM\\)DIR$" "DOOMPROFILE" "^__")
"^DEBUG$" "^INSECURE$" "^\\(EMACS\\|DOOM\\)DIR$" "^DOOMPROFILE$" "^__")
"Environment variables to omit from envvar files.
Each string is a regexp, matched against variable names to omit from