egetty

Jonathan Chen jonc at chen.org.nz
Mon Apr 11 03:00:05 PDT 2005


On Mon, Apr 11, 2005 at 01:26:43AM -0700, Loren M. Lang wrote:

[...]
> In bash, there is the ability to have it show just the current
> directories name instead of the whole path, I use this for my shell to
> cut down on space.  Does (t)csh have this as well?

A quick look at the man-page for tcsh reveals: "%c" eg:

	set prompt="%c%# "

Have a look for yourself to discover the myriad options available.
-- 
Jonathan Chen <jonc at chen.org.nz>
------------------------------------------------------------------------
"We laugh in the face of danger, we drop icecubes down the vest of fear"
                                                 - Edmond Blackadder III


More information about the freebsd-questions mailing list