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
commita0068482d3299fb6deb297d1aa6858698de3b6d5 (patch)
tree3e168388a1b32375d5ac8f2270cbdb7463c9c909 /init.el
parenta64d04f0e8c57a3c2abcab221ff3c36f3d0e228a (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