Make & .cshrc
Phil Smith
allbery at ncoast.UUCP
Tue Sep 20 08:20:19 AEST 1988
As quoted from <29592 at bbn.COM> by mesard at bbn.com (Wayne Mesard):
+---------------
| From article <21621 at tut.cis.ohio-state.edu>, by karl at triceratops.cis.ohio-state.edu (Karl Kleinpaste):
| > You should set prompt
| > iff there already exists a prompt, i.e.,
| > if ($?prompt) then
| > alias cd 'chdir \!*; set prompt="$cwd> "'
| > endif
|
| Or more generally, put the following line at the top of your .cshrc
| file:
|
| if ($?prompt == 0) exit
+---------------
Uh, that may work on recent BSD csh'es, but on mine and most likely in the
ISC csh, it'll cause both .cshrc and the csh to exit -- you won't even be
able to log in!
++Brandon
--
Brandon S. Allbery, uunet!marque!ncoast!allbery DELPHI: ALLBERY
For comp.sources.misc send mail to ncoast!sources-misc
"Don't discount flying pigs before you have good air defense." -- jvh at clinet.FI
More information about the Comp.unix.wizards
mailing list