eshell-skip-prompt-function

eshell-skip-prompt-function is a variable defined in `esh-mode.el'.
Its value is
nil

  • This variable may be risky if used as a file-local variable.

Documentation:
A function called from beginning of line to skip the prompt.

You can customize this variable.