From e9316479314c12eaef0b19d8e9266f331439d7aa Mon Sep 17 00:00:00 2001 From: GrĂ©goire DuchĂȘne Date: Sat, 31 May 2025 12:13:56 +0100 Subject: emacs: Better Eshell history --- emacs/init.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'emacs/init.el') diff --git a/emacs/init.el b/emacs/init.el index ee0573a..d1f7172 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -235,7 +235,11 @@ :custom ((eshell-cmpl-ignore-case t) (eshell-aliases-file (expand-file-name "alias" user-emacs-directory)) (eshell-directory-name (my/cache-file-name "eshell")) - (eshell-scroll-show-maximum-output nil))) + (eshell-hist-ignoredups t) + (eshell-history-append t) + (eshell-history-size 1024) + (eshell-scroll-show-maximum-output nil) + (history-delete-duplicates t))) ;; Flymake -- cgit v1.2.3-70-g09d2