Variable: eshell-last-dir-ring-file-name
eshell-last-dir-ring-file-name is a customizable variable defined in
em-dirs.el.gz.
Value
"/root/.emacs.d/eshell/lastdir"
Documentation
If non-nil, name of the file to read/write the last-dir-ring.
See also eshell-read-last-dir-ring and eshell-write-last-dir-ring.
If it is nil, the last-dir-ring will not be written to disk.
Probably introduced at or before Emacs version 27.1.
Source Code
;; Defined in /usr/src/emacs/lisp/eshell/em-dirs.el.gz
(defcustom eshell-last-dir-ring-file-name
(expand-file-name "lastdir" eshell-directory-name)
"If non-nil, name of the file to read/write the last-dir-ring.
See also `eshell-read-last-dir-ring' and `eshell-write-last-dir-ring'.
If it is nil, the last-dir-ring will not be written to disk."
:type 'file)