Function: eshell-next-matching-input
eshell-next-matching-input is an interactive and byte-compiled
function defined in em-hist.el.gz.
Signature
(eshell-next-matching-input REGEXP ARG)
Documentation
Search forwards through input history for match for REGEXP.
(Later history elements are more recent commands.)
With prefix argument N, search for Nth following match.
If N is negative, find the previous or Nth previous match.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/eshell/em-hist.el.gz
(defun eshell-next-matching-input (regexp arg)
"Search forwards through input history for match for REGEXP.
\(Later history elements are more recent commands.)
With prefix argument N, search for Nth following match.
If N is negative, find the previous or Nth previous match."
(interactive (eshell-regexp-arg "Next input matching (regexp): "))
(eshell-previous-matching-input regexp (- arg)))