eshell-pre-rewrite-command-hook

eshell-pre-rewrite-command-hook is a variable defined in `esh-cmd.el'.
Its value is

(eshell-no-command-conversion eshell-subcommand-arg-values)

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

Documentation:
A hook run before command rewriting begins.
The terms of the command to be rewritten is passed as arguments, and
may be modified in place. Any return value is ignored.

You can customize this variable.