eshell-first-time-mode-hook is a variable defined in `esh-mode.el'.
Its value is
nil
This variable may be risky if used as a file-local variable.
Documentation:
A hook that gets run the first time `eshell-mode' is entered.
That is to say, the first time during an Emacs session.
You can customize this variable.