diff --git a/lisp/mitch-packages.el b/lisp/mitch-packages.el index 4198db3..6c081f5 100644 --- a/lisp/mitch-packages.el +++ b/lisp/mitch-packages.el @@ -159,6 +159,7 @@ :config (add-to-list 'eshell-modules-list 'eshell-rebind) (add-to-list 'eshell-modules-list 'eshell-hist) + (add-hook 'kill-emacs-hook #'eshell-save-some-history) (defun eshell-evil-insert-line (count &optional vcount) (interactive "p") (eshell-bol)