Variable: eshell-history-isearch
eshell-history-isearch is a customizable variable defined in
em-hist.el.gz.
Value
nil
Documentation
If non-nil, Isearch searches in Eshell input history.
If t, usual Isearch keys like C-s (isearch-forward) in Eshell search only
in the input history. If dwim, Isearch commands search in the input
history when point is at the command line after the last prompt. The
value nil (the default) means to search in the current Eshell buffer.
This variable was added, or its default value changed, in Emacs 31.1.
Probably introduced at or before Emacs version 31.1.
Source Code
;; Defined in /usr/src/emacs/lisp/eshell/em-hist.el.gz
(defcustom eshell-history-isearch nil
"If non-nil, Isearch searches in Eshell input history.
If t, usual Isearch keys like \\[isearch-forward] in Eshell search only
in the input history. If `dwim', Isearch commands search in the input
history when point is at the command line after the last prompt. The
value nil (the default) means to search in the current Eshell buffer."
:type '(choice (const :tag "Don't search in input history" nil)
(const :tag "Search history when point is on command line" dwim)
(const :tag "Always search in input history" t))
:version "31.1")