This is the mail archive of the guile@cygnus.com mailing list for the guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: the default script environment


Mikael Djurfeldt <mdj@nada.kth.se> writes:

> There might be a way to have the cake and eat it too: For example, we
> could copy the behaviour of the great shells:
> 
> Introduce an environment variable GUILE_ENV.  When Guile is started
> non-interactively, it checks if this exists.  In that case it loads
> the file $GUILE_ENV.  Unlike the shell behaviour, I think this file
> should be loaded also during interactive use, before .guile.

I don't think GUILE_ENV is necessary.  I forgot about the
site/init.scm file.  That should be enough.

/mdj