diff --git a/core/cli/env.el b/core/cli/env.el index e98ad528692..a0c3ffbb3c1 100644 --- a/core/cli/env.el +++ b/core/cli/env.el @@ -58,7 +58,8 @@ Why this over exec-path-from-shell? (defvar doom-env-blacklist '(;; State that may be problematic if overwritten - "^HOME$" "^\\(OLD\\)?PWD$" "^SHLVL$" "^PS1$" "^R?PROMPT$" "^TERM$" "^USER$" + "^HOME$" "^\\(OLD\\)?PWD$" "^SHLVL$" "^PS1$" "^R?PROMPT$" "^TERM\\(CAP\\)?$" + "^USER$" ;; X server or services' variables "^DISPLAY$" "^DBUS_SESSION_BUS_ADDRESS$" "^XAUTHORITY$" ;; ssh and gpg variables (likely to become stale)