mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Fix #5198: blacklist WSL_INTEROP in envvar file
This commit is contained in:
@ -60,8 +60,10 @@ Why this over exec-path-from-shell?
|
|||||||
'(;; State that may be problematic if overwritten
|
'(;; State that may be problematic if overwritten
|
||||||
"^HOME$" "^\\(OLD\\)?PWD$" "^SHLVL$" "^PS1$" "^R?PROMPT$" "^TERM\\(CAP\\)?$"
|
"^HOME$" "^\\(OLD\\)?PWD$" "^SHLVL$" "^PS1$" "^R?PROMPT$" "^TERM\\(CAP\\)?$"
|
||||||
"^USER$"
|
"^USER$"
|
||||||
;; X server or services' variables
|
;; X server or services' variables that shouldn't be persisted
|
||||||
"^DISPLAY$" "^DBUS_SESSION_BUS_ADDRESS$" "^XAUTHORITY$"
|
"^DISPLAY$" "^DBUS_SESSION_BUS_ADDRESS$" "^XAUTHORITY$"
|
||||||
|
;; Windows+WSL envvars that shouldn't be persisted
|
||||||
|
"^WSL_INTEROP$"
|
||||||
;; ssh and gpg variables (likely to become stale)
|
;; ssh and gpg variables (likely to become stale)
|
||||||
"^SSH_\\(AUTH_SOCK\\|AGENT_PID\\)$" "^\\(SSH\\|GPG\\)_TTY$"
|
"^SSH_\\(AUTH_SOCK\\|AGENT_PID\\)$" "^\\(SSH\\|GPG\\)_TTY$"
|
||||||
"^GPG_AGENT_INFO$"
|
"^GPG_AGENT_INFO$"
|
||||||
|
Reference in New Issue
Block a user