Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Set TERM=dumb in eshell.

  • Loading branch information...
commit 4292b49ccfa1e16c5531ff82dd2be5e0101216b2 1 parent aac3644
@technomancy technomancy authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  starter-kit-eshell.el
View
2  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)))
Please sign in to comment.
Something went wrong with that request. Please try again.