src.nth.io/

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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