Eshell: Save history on every call
parent
5cc5776566
commit
537626d63c
|
@ -276,6 +276,9 @@ See `eshell' for the numeric prefix ARG."
|
|||
|
||||
(add-hook 'eshell-pre-command-hook 'ambrevar/eshell-status-record)
|
||||
|
||||
;; Always save history
|
||||
(add-hook 'eshell-pre-command-hook 'eshell-save-some-history)
|
||||
|
||||
;;; Detach
|
||||
(when (require 'package-eshell-detach nil t)
|
||||
(defun ambrevar/eshell-detach-set-keys ()
|
||||
|
|
Loading…
Reference in New Issue