Function: eshell-backward-matching-input

eshell-backward-matching-input is an interactive and byte-compiled function defined in em-prompt.el.gz.

Signature

(eshell-backward-matching-input REGEXP ARG)

Documentation

Search backward through buffer for command input that matches REGEXP.

With prefix argument N, search for Nth previous match. If N is negative, find the Nth next match.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/eshell/em-prompt.el.gz
(defun eshell-backward-matching-input (regexp arg)
  "Search backward through buffer for command input that matches REGEXP.
With prefix argument N, search for Nth previous match.  If N is
negative, find the Nth next match."
  (interactive (eshell-regexp-arg "Backward input matching (regexp): "))
  (eshell-forward-matching-input regexp (- arg)))