eshell-environment-variables

eshell-environment-variables is a compiled Lisp function in `esh-var.el'.

(eshell-environment-variables)

Return a `process-environment', fully updated.
This involves setting any variable aliases which affect the
environment, as specified in `eshell-variable-aliases-list'.