about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2022-10-05 20:09:04 +0100
committerDavid Morgan <djm_uk@protonmail.com>2022-10-05 20:09:04 +0100
commit8b421a6e53ef522601af3631f5d5f5efc14459e2 (patch)
tree2cd1f5affe8139f759e887f8edd492feae61cd68
parent515f4b62789cae472996ebab4f720887144bb4f5 (diff)
downloaddotfiles-8b421a6e53ef522601af3631f5d5f5efc14459e2.tar.gz
Set $TERM in eshell
-rw-r--r--.emacs.d/lisp/init-shell.el1
1 files changed, 1 insertions, 0 deletions
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