Function: eshell-run-startup-scripts
eshell-run-startup-scripts is a byte-compiled function defined in
em-script.el.gz.
Signature
(eshell-run-startup-scripts)
Documentation
Run any necessary startup scripts for the current Eshell session.
Source Code
;; Defined in /usr/src/emacs/lisp/eshell/em-script.el.gz
(defun eshell-run-startup-scripts ()
"Run any necessary startup scripts for the current Eshell session."
(when (and (not (bound-and-true-p eshell-non-interactive-p))
eshell-login-script
(file-readable-p eshell-login-script))
(eshell-do-eval
`(eshell-commands ,(eshell--source-file eshell-login-script))
t))
(when (and eshell-rc-script
(file-readable-p eshell-rc-script))
(eshell-do-eval
`(eshell-commands ,(eshell--source-file eshell-rc-script))
t)))