From 8a58b8e167b337f49c6204aea93911b033b83537 Mon Sep 17 00:00:00 2001 From: MitchMarq42 Date: Tue, 7 Mar 2023 08:27:34 -0900 Subject: [PATCH] eshell: expand !! and other history things why is this not enabled by default! grr --- lisp/mitch-packages.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/mitch-packages.el b/lisp/mitch-packages.el index a70f6eb..b37bb37 100644 --- a/lisp/mitch-packages.el +++ b/lisp/mitch-packages.el @@ -193,6 +193,7 @@ (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-to-list 'eshell-expand-input-functions #'eshell-expand-history-references) (add-hook 'kill-emacs-hook #'eshell-save-some-history) (defun eshell-evil-insert-line (count &optional vcount) (interactive "p")