cli/env: blacklist TERMCAP envvar
May be the result of recent "Not a termcap device" error reports.
This commit is contained in:
parent
84e1554f14
commit
a600e5949b
1 changed files with 2 additions and 1 deletions
|
@ -58,7 +58,8 @@ Why this over exec-path-from-shell?
|
||||||
|
|
||||||
(defvar doom-env-blacklist
|
(defvar doom-env-blacklist
|
||||||
'(;; 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\\(CAP\\)?$"
|
||||||
|
"^USER$"
|
||||||
;; X server or services' variables
|
;; X server or services' variables
|
||||||
"^DISPLAY$" "^DBUS_SESSION_BUS_ADDRESS$" "^XAUTHORITY$"
|
"^DISPLAY$" "^DBUS_SESSION_BUS_ADDRESS$" "^XAUTHORITY$"
|
||||||
;; ssh and gpg variables (likely to become stale)
|
;; ssh and gpg variables (likely to become stale)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue