Variable: eshell-kill-on-exit
eshell-kill-on-exit is a customizable variable defined in
esh-mode.el.gz.
Value
t
Documentation
If non-nil, kill the Eshell buffer on the exit command.
Otherwise, the buffer will simply be buried.
Source Code
;; Defined in /usr/src/emacs/lisp/eshell/esh-mode.el.gz
(defcustom eshell-kill-on-exit t
"If non-nil, kill the Eshell buffer on the `exit' command.
Otherwise, the buffer will simply be buried."
:type 'boolean)