Fix #5198: blacklist WSL_INTEROP in envvar file
This commit is contained in:
parent
6438172e74
commit
8ad846e15b
1 changed files with 3 additions and 1 deletions
|
@ -60,8 +60,10 @@ Why this over exec-path-from-shell?
|
|||
'(;; State that may be problematic if overwritten
|
||||
"^HOME$" "^\\(OLD\\)?PWD$" "^SHLVL$" "^PS1$" "^R?PROMPT$" "^TERM\\(CAP\\)?$"
|
||||
"^USER$"
|
||||
;; X server or services' variables
|
||||
;; X server or services' variables that shouldn't be persisted
|
||||
"^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_\\(AUTH_SOCK\\|AGENT_PID\\)$" "^\\(SSH\\|GPG\\)_TTY$"
|
||||
"^GPG_AGENT_INFO$"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue