mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Blacklist XAUTHORITY from envvar files
XAUTHORITY is likely to become stale if persisted across sessions.
This commit is contained in:
@ -64,7 +64,7 @@ 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$" "^USER$"
|
"^HOME$" "^\\(OLD\\)?PWD$" "^SHLVL$" "^PS1$" "^R?PROMPT$" "^TERM$" "^USER$"
|
||||||
;; X server or services' variables
|
;; X server or services' variables
|
||||||
"^DISPLAY$" "^DBUS_SESSION_BUS_ADDRESS$"
|
"^DISPLAY$" "^DBUS_SESSION_BUS_ADDRESS$" "^XAUTHORITY$"
|
||||||
;; 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