A csh question ...
Bruce G. Barnett
barnett at vdsvax.steinmetz.ge.com
Sat May 21 20:33:45 AEST 1988
In article <636 at fxgrp.UUCP> ljz%fx.com at ames.arc.nasa.gov (Lloyd Zusman) writes:
|Can anyone explain why .login gets sourced *after* .cshrc?
Probably because it makes sense. How else to you specify a command to
execute automatically when you log in that changes your environment?
Examples: emacs, X windows, suntools, screen-based applications, etc.
I usually test for the value of prompt, user, and/or term in my .cshrc file.
This way I can distinguish between a script, rcp/rsh, rlogin or login.
This has always been sufficient for me.
What are you doing that requires the opposite?
(You can always do a 'source .my-login' in your .login file).
--
Bruce G. Barnett <barnett at ge-crd.ARPA> <barnett at steinmetz.UUCP>
uunet!steinmetz!barnett
More information about the Comp.unix.questions
mailing list