Use consult for eshell history

This commit is contained in:
2024-09-19 15:20:24 -07:00
parent 796cb7112c
commit 486a9d25f4

View File

@@ -47,6 +47,11 @@ any directory proferred by `consult-dir'."
(t (eshell/cd (if regexp (eshell-find-previous-directory regexp)
(completing-read "cd: " eshell-dirs))))))))
(use-package eshell
:bind (:map eshell-hist-mode-map
("M-r" . consult-history))
:after em-hist)
(use-package pcre2el
:ensure t
:config