Variable: eshell-hist-word-designator

eshell-hist-word-designator is a customizable variable defined in em-hist.el.gz.

Value

"^:?\\([0-9]+\\|[$^%*]\\)?\\(-[0-9]*\\|[$^%*]\\)?"

Documentation

The regexp used to identify history word designators.

Source Code

;; Defined in /usr/src/emacs/lisp/eshell/em-hist.el.gz
(defcustom eshell-hist-word-designator
  "^:?\\([0-9]+\\|[$^%*]\\)?\\(-[0-9]*\\|[$^%*]\\)?"
  "The regexp used to identify history word designators."
  :type 'regexp)