From 7fcedfbca3a05d0c83c5aa7c5dbcc308345bf5c8 Mon Sep 17 00:00:00 2001 From: Luke Hoersten Date: Sat, 4 Dec 2010 13:21:20 -0600 Subject: Started using eshell with TERM=emacs for bash colors. --- init.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'init.el') diff --git a/init.el b/init.el index a93585f..64520e7 100644 --- a/init.el +++ b/init.el @@ -71,7 +71,8 @@ )) ;; terminal -(global-set-key (kbd "C-c s") '(lambda () (interactive) (ansi-term "bash" "shell"))) ; start term +(global-set-key (kbd "C-c s") 'eshell) ; start shell +(add-hook 'eshell-mode-hook '(setenv "TERM" "emacs")) ; enable colors ;; OS specific configs (cond -- cgit v1.2.3