Skip to content

Commit

Permalink
Black list XDG_SESSION_TYPE from doom-env
Browse files Browse the repository at this point in the history
The variable is obsolete once we switch between "x11" and "wayland".
  • Loading branch information
daanturo committed Jul 30, 2021
1 parent f9b47ed commit bfc12b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/cli/env.el
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit bfc12b8

Please sign in to comment.