Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.

Commit

Permalink
Set TERM=dumb in eshell.
Browse files Browse the repository at this point in the history
  • Loading branch information
technomancy committed Dec 1, 2010
1 parent aac3644 commit 4292b49
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions starter-kit-eshell.el
Expand Up @@ -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)))
Expand Down

0 comments on commit 4292b49

Please sign in to comment.