Eshell: save history when Emacs dies

This commit is contained in:
MitchMarq42 2023-01-25 10:46:09 -09:00
parent 6cfb9b8d76
commit 10e239d42d

View File

@ -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)