Eshell: save history when Emacs dies
This commit is contained in:
parent
6cfb9b8d76
commit
10e239d42d
@ -159,6 +159,7 @@
|
|||||||
:config
|
:config
|
||||||
(add-to-list 'eshell-modules-list 'eshell-rebind)
|
(add-to-list 'eshell-modules-list 'eshell-rebind)
|
||||||
(add-to-list 'eshell-modules-list 'eshell-hist)
|
(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)
|
(defun eshell-evil-insert-line (count &optional vcount)
|
||||||
(interactive "p")
|
(interactive "p")
|
||||||
(eshell-bol)
|
(eshell-bol)
|
||||||
|
Loading…
Reference in New Issue
Block a user