directory inclusion in prompt

Paul Placeway paul at morganucodon.cis.ohio-state.edu
Tue May 16 05:13:39 AEST 1989


In article <11427 at polyslo.CalPoly.EDU> steve at 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



More information about the Comp.sys.pyramid mailing list