A csh question ...

Lloyd Zusman ljz at fxgrp.UUCP
Thu May 26 15:47:31 AEST 1988


In article <2791 at abcom.ATT.COM> rgsmeb at abcom.ATT.COM (Michel Behna) writes:
  From article <636 at fxgrp.UUCP>, by ljz at fxgrp.UUCP (Lloyd Zusman):
  > Can anyone explain why .login gets sourced *after* .cshrc?  I am constantly
  
  Excuse me for asking a stupid question, but why don't you move the code from 
  one to the other? Would that solve yopur problem?

No, because .login only gets sourced when you first log in, but .cshrc
gets sourced whenever a shell is started up.  The latter can take place
more than once per login session, and it usually does.

Hence, different types of information are put into the two files.

It's not a stupid question.


--
  Lloyd Zusman                          UUCP:   ...!ames!fxgrp!ljz
  Master Byte Software              Internet:   ljz%fx.com at ames.arc.nasa.gov
  Los Gatos, California               or try:   fxgrp!ljz at ames.arc.nasa.gov
  "We take things well in hand."



More information about the Comp.unix.questions mailing list