Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '.cshrc is the wrong place to put it' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
.cshrc is the wrong place to put it
Authored by: breen on Feb 07, '03 07:00:07PM

If you run fortune from .cshrc (or .bashrc) you'll get a fortune with all shell instances -- whether it's an interactive login or not.
This has the unfortunate side effect of breaking valuable tools like rsync over an ssh connection, because the extra output from the remote shell causes an error.

Fortune and its kin should be invoked from a .profile file of some sort. (I'm not at my OS X box right now -- what's the correct file for tcsh?



[ Reply to This | # ]
.cshrc is the wrong place to put it
Authored by: SeanAhern on Feb 08, '03 12:02:53AM

.login



[ Reply to This | # ]