Variable: eshell-history-file-name
eshell-history-file-name is a customizable variable defined in
em-hist.el.gz.
Value
"/root/.emacs.d/eshell/history"
Documentation
If non-nil, name of the file to read/write input history.
See also eshell-read-history and eshell-write-history.
If it is nil, Eshell will use the value of HISTFILE.
Probably introduced at or before Emacs version 27.1.
Source Code
;; Defined in /usr/src/emacs/lisp/eshell/em-hist.el.gz
(defcustom eshell-history-file-name
(expand-file-name "history" eshell-directory-name)
"If non-nil, name of the file to read/write input history.
See also `eshell-read-history' and `eshell-write-history'.
If it is nil, Eshell will use the value of HISTFILE."
:type '(choice (const :tag "Use HISTFILE" nil)
file))