Permalink
Browse files

Set TERM=dumb in eshell.

  • Loading branch information...
1 parent aac3644 commit 4292b49ccfa1e16c5531ff82dd2be5e0101216b2 @technomancy technomancy committed Dec 1, 2010
Showing with 2 additions and 0 deletions.
  1. +2 −0 starter-kit-eshell.el
View
@@ -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)))

0 comments on commit 4292b49

Please sign in to comment.