From a600e5949b2280ec7af0918b2208c03da30f3175 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 28 May 2021 13:39:14 -0400 Subject: [PATCH] cli/env: blacklist TERMCAP envvar May be the result of recent "Not a termcap device" error reports. --- core/cli/env.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)