summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck.cuny@gmail.com>2017-04-27 09:02:27 -0700
committerFranck Cuny <franck.cuny@gmail.com>2017-04-27 09:02:27 -0700
commit4c62694e620008f173cd61d8e6ed601af2ce74dd (patch)
tree535be1dd40a94e314c989ed4bde5239213154380
parent[Emacs] update binding for ag (diff)
downloademacs.d-4c62694e620008f173cd61d8e6ed601af2ce74dd.tar.gz
[Emacs] Remove configuration for eshell
I don't use it (this is too slow)
-rw-r--r--emacs.d/init.el22
1 files changed, 0 insertions, 22 deletions
diff --git a/emacs.d/init.el b/emacs.d/init.el
index 36208b2..1881e45 100644
--- a/emacs.d/init.el
+++ b/emacs.d/init.el
@@ -130,28 +130,6 @@
   (add-hook 'emacs-lisp-mode-hook 'eldoc-mode)
   (add-hook 'lisp-interaction-mode-hook 'eldoc-mode))
 
-(use-package eshell
-  ;; configuration for eshell
-  :ensure t
-
-  :bind ("C-x e" . eshell)
-
-  :init
-  (progn
-    (setq eshell-directory-name (expand-file-name "var/eshell/" user-emacs-directory))
-    (add-hook 'eshell-mode-hook '(lambda ()(exec-path-from-shell-initialize)))
-    (add-hook 'eshell-mode-hook (lambda ()
-                                  (setenv "PAGER" "less")
-                                  (setenv "EDITOR" "emacsclient"))))
-  :config
-  (progn
-    (use-package em-term
-      :defer t
-      :config
-      (setq eshell-destroy-buffer-when-process-dies t
-            eshell-visual-commands
-            (append '("less" "tmux" "ssh" "htop" "top") eshell-visual-commands)))))
-
 (use-package exec-path-from-shell
   ;; environment fixup for macOS.
   :ensure t