Subject: Re: Setting prompt...
To: Jude Giampaolo <jude@ruf2ece.ee.psu.edu>
From: Colin Wood <cwood@ichips.intel.com>
List: port-mac68k
Date: 10/08/1998 11:50:17
Jude Giampaolo wrote:
> Chris Jewell carved on a block of stone:
> > 
> >    How do you set the prompt for the c-shell in the .cshrc to show your
> > current path.  I tried what I thought would work but it doesn't.
> 
> Here's what I use:
> 
> set prompt="%m%~ %h%%> "

i believe the above only works with tcsh (which i'd recommend using over
standard csh).  most solutions for tcsh look something like:

alias reprompt	'set prompt=`pwd`"%'
alias cd 	'cd;reprompt'

i hope this helps some.

later.

-- 
Colin Wood                                 cwood@ichips.intel.com
Component Design Engineer - PMD                 Intel Corporation
-----------------------------------------------------------------
I speak only on my own behalf, not for my employer.