cli/env: blacklist TERMCAP envvar

May be the result of recent "Not a termcap device" error reports.
This commit is contained in:
Henrik Lissner 2021-05-28 13:39:14 -04:00
parent 84e1554f14
commit a600e5949b

View file

@ -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)