summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrégoire Duchêne <gduchene@awhk.org>2025-05-31 12:13:56 +0100
committerGrégoire Duchêne <gduchene@awhk.org>2025-06-01 14:27:27 +0100
commite9316479314c12eaef0b19d8e9266f331439d7aa (patch)
tree35fa5b433403a12c6d49fb4d3340e3cc7092e6e6
parent117999f0afa2a3ea36383e8afe16f95b720afbbf (diff)
emacs: Better Eshell history
-rw-r--r--emacs/init.el6
1 files changed, 5 insertions, 1 deletions
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