src.nth.io/

summaryrefslogtreecommitdiff
path: root/init.el
diff options
context:
space:
mode:
authorLuke Hoersten <[email protected]>2010-12-04 13:21:20 -0600
committerLuke Hoersten <[email protected]>2010-12-04 13:21:20 -0600
commit7fcedfbca3a05d0c83c5aa7c5dbcc308345bf5c8 (patch)
tree3e168388a1b32375d5ac8f2270cbdb7463c9c909 /init.el
parenta73af1ec9b611b5f29ed5c20b0dcf48cbeddc7ac (diff)
Started using eshell with TERM=emacs for bash colors.
Diffstat (limited to 'init.el')
-rw-r--r--init.el3
1 files changed, 2 insertions, 1 deletions
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