From e3114736b44f5ef0348f0174fff30d4533f7c842 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Mon, 24 Oct 2022 08:01:36 -0700 Subject: fix(eshell): don't enable eshell's smart mode For reasons I don't understand, performances degrade immediately once an eshell buffer size grows. I find the behavior annoying anyway so let's remove it. Change-Id: Ia5ca2391d1ed11ae4b7c2102131159f0cdfbcb59 --- emacs/custom/my-eshell.el | 3 --- 1 file changed, 3 deletions(-) (limited to 'emacs') diff --git a/emacs/custom/my-eshell.el b/emacs/custom/my-eshell.el index bd3b192..dfbe025 100644 --- a/emacs/custom/my-eshell.el +++ b/emacs/custom/my-eshell.el @@ -30,7 +30,6 @@ (require 'em-dirs) (require 'em-glob) (require 'em-hist) -(require 'em-smart) (require 'em-term) (require 'em-tramp) (require 'em-prompt) @@ -181,13 +180,11 @@ append to it, while separating multiple outputs with (customize-set-variable 'eshell-highlight-prompt nil) (customize-set-variable 'eshell-where-to-jump 'begin) (customize-set-variable 'eshell-review-quick-commands nil) -(customize-set-variable 'eshell-smart-space-goes-to-end t) (customize-set-variable 'tramp-shell-prompt-pattern "^[^$>\n]*[#$%>] *\\(customize-set-variable '\[[0-9;]*[a-zA-Z] *\\)*") (customize-set-variable 'eshell-destroy-buffer-when-process-dies t) (add-hook 'eshell-mode-hook 'my/eshell-mode-setup) (add-hook 'eshell-mode-hook 'my/eshell-current-command-time-track) -(add-hook 'eshell-mode-hook 'eshell-smart-initialize) (provide 'my-eshell) -- cgit 1.4.1