From 5924bb32e3cb16141361aa4257178dd2b25cab19 Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Sat, 7 Nov 2020 09:01:17 +0100 Subject: [PATCH] Set default value for eshell history size The builtin default of 128 is too low, resulting in recently used commands to be forgotten quickly, so let's use a more conservative (in the literal sense of the word) value. Customization still takes precendence over this new default, though. --- init.el | 1 + 1 file changed, 1 insertion(+) diff --git a/init.el b/init.el index 6daedb6..9f429b0 100644 --- a/init.el +++ b/init.el @@ -2497,6 +2497,7 @@ With given ARG, display files in `db/important-document-path’." eshell-error-if-no-glob t eshell-hist-ignoredups t eshell-save-history-on-exit t + eshell-history-size 5000 eshell-destroy-buffer-when-process-dies t eshell-prompt-function #'eshell/default-prompt-function eshell-prompt-regexp "└─[$#] "