eshell-expand-input-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 parsed.
Each function is passed two arguments, which bounds the region of the
current input text.
You can customize this variable.