summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorrekado <rekado@elephly.net>2015-05-04 10:48:34 +0200
committerrekado <rekado@elephly.net>2015-05-04 10:48:34 +0200
commit17f7447249329ec8edb209001130a6cbd5bf797b (patch)
tree9bfcb9c12977989a0d87cdf42222b3c1d84fb8d3 /lisp
parent19f0327e742cc96abdf6167f6dee4ae6dc6c2917 (diff)
shell: do not start eshell on startup
Diffstat (limited to 'lisp')
-rw-r--r--lisp/init-eshell.el6
1 files changed, 0 insertions, 6 deletions
diff --git a/lisp/init-eshell.el b/lisp/init-eshell.el
index ed56656..9d733a7 100644
--- a/lisp/init-eshell.el
+++ b/lisp/init-eshell.el
@@ -42,12 +42,6 @@
(define-key eshell-mode-map (kbd "C-c /") 'my/tramp-root)
(define-key eshell-mode-map (kbd "C-c ~") 'my/tramp-home)))
-;; start a hidden eshell on startup
-(add-hook 'emacs-startup-hook #'(lambda ()
- (let ((default-directory (getenv "HOME")))
- (command-execute 'eshell)
- (bury-buffer))))
-
;; use cat as the pager in shell mode, because shell-mode is not an ANSI terminal
(setenv "PAGER" "cat")