eshell: fix history error
This commit is contained in:
parent
d378610f43
commit
115b665ffd
@ -178,7 +178,7 @@
|
|||||||
;; eshell. Pretty good actually.
|
;; eshell. Pretty good actually.
|
||||||
(use-package eshell
|
(use-package eshell
|
||||||
:elpaca nil
|
:elpaca nil
|
||||||
:commands (eshell/emacs eshell/man)
|
;; :commands (eshell/emacs eshell/man)
|
||||||
;; :init
|
;; :init
|
||||||
;; (defun eshell-banner-initialize ()
|
;; (defun eshell-banner-initialize ()
|
||||||
;; "Run Neofetch in eshell."
|
;; "Run Neofetch in eshell."
|
||||||
@ -189,11 +189,11 @@
|
|||||||
(eshell-history-file-name nil)
|
(eshell-history-file-name nil)
|
||||||
(eshell-history-size nil)
|
(eshell-history-size nil)
|
||||||
(eshell-banner-message "")
|
(eshell-banner-message "")
|
||||||
|
(eshell-expand-input-functions '(eshell-expand-history-references))
|
||||||
: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-to-list 'eshell-modules-list 'eshell-tramp)
|
(add-to-list 'eshell-modules-list 'eshell-tramp)
|
||||||
(add-to-list 'eshell-expand-input-functions #'eshell-expand-history-references)
|
|
||||||
(add-hook 'kill-emacs-hook #'eshell-save-some-history)
|
(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")
|
||||||
|
Loading…
Reference in New Issue
Block a user