From 4292b49ccfa1e16c5531ff82dd2be5e0101216b2 Mon Sep 17 00:00:00 2001 From: Phil Hagelberg Date: Tue, 30 Nov 2010 21:02:33 -0800 Subject: [PATCH] Set TERM=dumb in eshell. --- starter-kit-eshell.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/starter-kit-eshell.el b/starter-kit-eshell.el index a417af54e8..d09b99104b 100644 --- a/starter-kit-eshell.el +++ b/starter-kit-eshell.el @@ -13,6 +13,8 @@ (require 'em-cmpl) (setenv "PAGER" "cat") (set-face-attribute 'eshell-prompt nil :foreground "turquoise1") + (add-hook 'eshell-mode-hook ;; for some reason this needs to be a hook + '(lambda () (eshell/export "TERM" "dumb"))) (when (< emacs-major-version 23) (add-hook 'eshell-mode-hook ;; for some reason this needs to be a hook '(lambda () (define-key eshell-mode-map "\C-a" 'eshell-bol)))