eshell-input-filter-functions 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:
Functions to call before input is processed.
The input is contained in the region from `eshell-last-input-start' to
`eshell-last-input-end'.
You can customize this variable.