summaryrefslogtreecommitdiff
path: root/emacs
diff options
context:
space:
mode:
authorGrégoire Duchêne <gduchene@awhk.org>2025-05-31 12:11:55 +0100
committerGrégoire Duchêne <gduchene@awhk.org>2025-05-31 12:11:55 +0100
commit53fc42a78cf647d3333c7e55d4859bbe0769b9c2 (patch)
treec81179ab3aefdc6fa208145a5a0d5f26fcdda093 /emacs
parent5cc16b23e85a1d8560846be4a54eec7ee5ddb130 (diff)
emacs: Set TERM to ‘xterm-256colors’ in Eshell
Diffstat (limited to 'emacs')
-rw-r--r--emacs/init.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 555522b..8c13a2d 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -226,6 +226,8 @@
(eshell/clear-scrollback)
(eshell-emit-prompt)
(insert input))))
+ (add-to-list 'eshell-variable-aliases-list
+ `("TERM" ,(lambda () "xterm-256colors") t t))
:bind (("C-c e" . eshell)
:map eshell-mode-map
("s-l" . my/eshell-clear))