eshell-non-interactive-p
eshell-non-interactive-p is a variable defined in `eshell.el
'.
Its value is nilDocumentation: A variable which is non-nil when Eshell is not running interactively. Modules should use this variable so that they don't clutter non-interactive sessions, such as when using `eshell-command'.