*BSD News Article 95424


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!uunet!in1.uu.net!207.172.3.52!feed1.news.erols.com!chippy.visi.com!news-out.visi.com!dimensional.com!not-for-mail
From: "Peter J. Bartlett" <peteb@fusionmm.com>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Customizing csh
Date: Thu, 15 May 1997 16:23:37 -0600
Organization: Fusion MicroMedia Corp.
Lines: 25
Message-ID: <337B8CE9.267@fusionmm.com>
References: <01bc5725$24f3dfa0$64d91dce@phishhead.dawtech.com>
		<5kiqk3$kf9@uriah.heep.sax.de> <5kkcqt$2e5@news.mel.aone.net.au>
		<2rqlk5.it2.ln@dolphin.neosoft.com> <ylurafh3e5s.fsf@pc-servicej.rd.hydro.on.ca>
Reply-To: peteb@fusionmm.com
NNTP-Posting-Host: 208.206.187.15
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.01Gold (WinNT; I)
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:40974

Jim Service wrote:
> 
> conrads@neosoft.com (Conrad Sabatier) writes:
> 
> >
> > In article <5kkcqt$2e5@news.mel.aone.net.au>,
> >       nigel@palms.nq.net (Nigel Gorry) writes:
> > >
> > > "Chris Taylor" <cstaylor@dawtech.com> wrote:
> > >> I would like to see some examples of csh.cshrc, csh.login and .cshrc files.
> > >>  For one, I would really like to know how to set the prompt to show the
> > >> current working directory, a problem that continues to allude me.  Thanks.
> > >
> > > alias cd 'chdir \!* && set prompt="${cwd}$ "'
> > > set prompt="${cwd}$ "
> >

Don't forget to alias "pushd" and "popd" as well...

Yuck. Another vote for "get tcsh".

-- 
Peter J. Bartlett                     email: peteb@fusionmm.com
Senior Design Engineer                voice: (303)651-1000 ext. 234
Fusion MicroMedia Corporation           fax: (303)651-1199