Started using eshell with TERM=emacs for bash colors.
authorLuke Hoersten <Luke@Hoersten.org>
Sat, 04 Dec 2010 13:21:20 -0600
changeset 30 5aa1ceff049d
parent 29 b52bb6669eed
child 31 27930e0310d6
Started using eshell with TERM=emacs for bash colors.
init.el
--- a/init.el	Mon Nov 29 11:40:31 2010 -0600
+++ b/init.el	Sat Dec 04 13:21:20 2010 -0600
@@ -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