Emacs: use em-smart package to return to previous command in eshell sessions
1 file changed, 8 insertions(+), 1 deletion(-)
jump to
M emacs/init.el → emacs/init.el
@@ -712,7 +712,14 @@ ;;;; Shells & REPLs (use-package eshell :defer t - :config (setq eshell-directory-name "~/.emacs.d/eshell")) + :config (progn + (setq eshell-directory-name "~/.emacs.d/eshell") + (use-package em-smart + :init (progn + (setq eshell-where-to-jump 'begin + eshell-review-quick-commands nil + eshell-smart-space-goes-to-end t) + (eshell-smart-initialize))))) (use-package shell :defer t