Variable: eshell-hist-match-partial
eshell-hist-match-partial is a customizable variable defined in
em-hist.el.gz.
Value
t
Documentation
If non-nil, movement through history is constrained by current input.
Otherwise, typing <M-p> and <M-n> will always go to the next history
element, regardless of any text on the command line. In that case,
<C-c M-r> and <C-c M-s> still offer that functionality.
Source Code
;; Defined in /usr/src/emacs/lisp/eshell/em-hist.el.gz
(defcustom eshell-hist-match-partial t
"If non-nil, movement through history is constrained by current input.
Otherwise, typing <M-p> and <M-n> will always go to the next history
element, regardless of any text on the command line. In that case,
<C-c M-r> and <C-c M-s> still offer that functionality."
:type 'boolean)