eshell-pre-command-hook

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

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

Documentation:
A hook run before each interactive command is invoked.

You can customize this variable.