Only save eshel history when it matters
This commit is contained in:
parent
bb5d71b380
commit
bdfdb3e332
@ -210,7 +210,9 @@
|
||||
(add-to-list 'eshell-modules-list 'eshell-rebind)
|
||||
(add-to-list 'eshell-modules-list 'eshell-hist)
|
||||
(add-to-list 'eshell-modules-list 'eshell-tramp)
|
||||
(add-hook 'kill-emacs-hook #'eshell-save-some-history)
|
||||
(add-hook 'kill-emacs-hook (lambda ()
|
||||
(if (fboundp #'eshell-save-some-history)
|
||||
(eshell-save-some-history))))
|
||||
(defun eshell-evil-insert-line (count &optional vcount)
|
||||
(interactive "p")
|
||||
(eshell-bol)
|
||||
|
Loading…
Reference in New Issue
Block a user