Article View: comp.unix.shell
Article #1676Re: What should be in .cshrc vs .login
From: Robert Perlberg
Date: Tue, 30 Oct 1990 17:09
Date: Tue, 30 Oct 1990 17:09
19 lines
969 bytes
969 bytes
The way I've dealt with the problem is to make the setting of all env
variables conditional. I have created an env variable called ENVINIT
whose existence indicates that the env variables have already been
created. I use it like this:
excerpt from .cshrc:
source .envinit
excerpt from .envinit:
if($?ENVINIT != 0) exit
... various setenv's ...
setenv ENVINIT DONE
Robert Perlberg
Dean Witter Reynolds Inc., New York
{murphy | philabs | chuo}!step!perl
-- "I am not a language ... I am a free man!"
Technical Details
Message-ID:
<1732@number1.step.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!uunet!murphy!step!perlReferences:
<1294@tardis.Tymnet.COM> <FPB.90Oct21120952@ittc.ittc.wec.com> <1300@tardis.Tymnet.COM>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!uunet!murphy!step!perl From: perl@step.UUCP (Robert Perlberg) Newsgroups: comp.unix.shell Subject: Re: What should be in .cshrc vs .login Message-ID: <1732@number1.step.UUCP> Date: 30 Oct 90 17:09:36 GMT References: <1294@tardis.Tymnet.COM> <FPB.90Oct21120952@ittc.ittc.wec.com> <1300@tardis.Tymnet.COM> Organization: Dean Witter Reynolds Inc., New York Lines: 19