From 8b421a6e53ef522601af3631f5d5f5efc14459e2 Mon Sep 17 00:00:00 2001 From: David Morgan Date: Wed, 5 Oct 2022 20:09:04 +0100 Subject: [PATCH] Set $TERM in eshell --- .emacs.d/lisp/init-shell.el | 1 + 1 file changed, 1 insertion(+) diff --git a/.emacs.d/lisp/init-shell.el b/.emacs.d/lisp/init-shell.el index ef15d72..85bdbb5 100644 --- a/.emacs.d/lisp/init-shell.el +++ b/.emacs.d/lisp/init-shell.el @@ -7,6 +7,7 @@ :bind ("C-x m " . eshell) :hook (eshell-pre-command . eshell-save-some-history) + (eshell-mode-hook . (lambda () (setenv "TERM" "xterm-256color"))) :custom (eshell-directory-name (expand-file-name "eshell" save-dir)) :config