Re: modules with rsh/ssh
Manage your shell environment variables and aliases
Brought to you by:
leomania,
xdelaruelle
From: Jeff S. <jsq...@ls...> - 2002-02-20 08:23:46
|
On Mon, 18 Feb 2002, Jerry Hershkowitz wrote: > As a mere mortal, I can give you a suggestion. But, I'd like to hear > what some of the more knowlegable Modules creators might have to say, > too, about why the default modules installation has the C-shell > installation split between the .login and .cshrc files. My understanding of this is that this is an optimization. There is some one-time initialization that can be done that will persist across sub-shells (e.g., environment variables). This stuff can be done in .login so that it executes only once (although its effects last for all children of the login shell). Other things (such as aliases) are only per-shell and are not inherited by children. Hence, they must be setup for every shell invocation. {+} Jeff Squyres {+} sq...@cs... {+} Perpetual Obsessive Notre Dame Student Craving Utter Madness {+} "I came to ND for 4 years and ended up staying for a decade" |