From 4c62694e620008f173cd61d8e6ed601af2ce74dd Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Thu, 27 Apr 2017 09:02:27 -0700 Subject: [Emacs] Remove configuration for eshell I don't use it (this is too slow) --- emacs.d/init.el | 22 ---------------------- 1 file changed, 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 -- cgit 1.4.1