Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Apr 2005 22:00:01 +1200
From:      Jonathan Chen <jonc@chen.org.nz>
To:        "Loren M. Lang" <lorenl@alzatex.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: egetty
Message-ID:  <20050411100001.GB28679@osiris.chen.org.nz>
In-Reply-To: <20050411082643.GC4192@alzatex.com>
References:  <ef60af09050409160438f2039d@mail.gmail.com> <MIEPLLIBMLEEABPDBIEGMEOEHDAA.bob@a1poweruser.com> <ef60af09050409215037486741@mail.gmail.com> <20050411082643.GC4192@alzatex.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@chen.org.nz>
------------------------------------------------------------------------
"We laugh in the face of danger, we drop icecubes down the vest of fear"
                                                 - Edmond Blackadder III



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050411100001.GB28679>