Black list XDG_SESSION_TYPE from doom-env

The variable is obsolete once we switch between "x11" and "wayland".
This commit is contained in:
Daanturo 2021-07-30 08:14:48 +07:00
parent f9b47ed38a
commit bfc12b83b4

View file

@ -61,7 +61,7 @@ Why this over exec-path-from-shell?
"^HOME$" "^\\(OLD\\)?PWD$" "^SHLVL$" "^PS1$" "^R?PROMPT$" "^TERM\\(CAP\\)?$"
"^USER$"
;; X server or services' variables that shouldn't be persisted
"^DISPLAY$" "^DBUS_SESSION_BUS_ADDRESS$" "^XAUTHORITY$"
"^DISPLAY$" "^DBUS_SESSION_BUS_ADDRESS$" "^XAUTHORITY$" "^XDG_SESSION_TYPE$"
;; Windows+WSL envvars that shouldn't be persisted
"^WSL_INTEROP$"
;; ssh and gpg variables (likely to become stale)