eshell-module-unload-hook

eshell-module-unload-hook is a variable defined in `esh-module.el'.
Its value is
(eshell-unload-extension-modules)

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

Documentation:
A hook run when `eshell-module' is unloaded.

You can customize this variable.