Don't call install-env when initializing scsh because this is already

done by a reinitializer in scsh.scm.
This commit is contained in:
mainzelm 2002-08-16 12:12:31 +00:00
parent 8f1dfb6935
commit 4540ad4589
1 changed files with 5 additions and 3 deletions

View File

@ -298,12 +298,14 @@
name))
(define (with-scsh-initialized interactive? context args thunk)
(with-scsh-sighandlers
(with-scsh-sighandlers
interactive?
(lambda ()
(with-autoreaping
(lambda ()
(install-env)
;; environment is already installed by a resumer
;; c.f. env-reinitializer in scsh.scm
;; (install-env)
(initialize-cwd)
(init-scsh-vars interactive?)
(start-new-session context
@ -356,7 +358,7 @@
(restart-command-processor
args
context
(lambda ()
(lambda ()
(display (string-append
"Welcome to scsh "
scsh-version-string