Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!morganucodon.cis.ohio-state.edu!paul From: paul@morganucodon.cis.ohio-state.edu (Paul Placeway) Newsgroups: comp.sys.pyramid Subject: Re: directory inclusion in prompt Message-ID: Date: 15 May 89 19:13:39 GMT References: <11427@polyslo.CalPoly.EDU> Sender: news@tut.cis.ohio-state.edu Reply-To: paul@cis.ohio-state.edu Distribution: usa Organization: Ohio State Computer Science Lines: 14 In-reply-to: steve@polyslo.CalPoly.EDU's message of 15 May 89 05:33:36 GMT In article <11427@polyslo.CalPoly.EDU> steve@polyslo.CalPoly.EDU (Steve DeJarnett) writes: alias cd 'chdir \!* ; set prompt = "\! $cwd -> " ; ls -FC' If you are running the tcsh from Ohio State, it's much easier than that. Just set your prompt to include either %. (for the last part of the CWD), or %/ (for all of the CWD). See the man page for details. I welcome suggestions and (especially) code for improvements.... -- Paul Placeway Ohio State