Use consult for eshell history
This commit is contained in:
@@ -47,6 +47,11 @@ any directory proferred by `consult-dir'."
|
|||||||
(t (eshell/cd (if regexp (eshell-find-previous-directory regexp)
|
(t (eshell/cd (if regexp (eshell-find-previous-directory regexp)
|
||||||
(completing-read "cd: " eshell-dirs))))))))
|
(completing-read "cd: " eshell-dirs))))))))
|
||||||
|
|
||||||
|
(use-package eshell
|
||||||
|
:bind (:map eshell-hist-mode-map
|
||||||
|
("M-r" . consult-history))
|
||||||
|
:after em-hist)
|
||||||
|
|
||||||
(use-package pcre2el
|
(use-package pcre2el
|
||||||
:ensure t
|
:ensure t
|
||||||
:config
|
:config
|
||||||
|
|||||||
Reference in New Issue
Block a user