Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jun 2001 01:48:35 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        kek971@mail.usask.ca
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: customizing console??
Message-ID:  <20010621014834.A656@hades.hell.gr>
In-Reply-To: <993008866.3b301ce25b0ab@my.usask.ca>; from kek971@mail.usask.ca on Tue, Jun 19, 2001 at 09:47:46PM -0600
References:  <993008866.3b301ce25b0ab@my.usask.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jun 19, 2001 at 09:47:46PM -0600, kek971@mail.usask.ca wrote:
> i'm using csh... how can i set up a prompt showing the current directory?
> Anyone tell me some good internet resources about configuring console???

In recent 4-STABLE releases, the /bin/csh shell is actually tcsh.
If that is the case with your shell, you can always use:

	% set prompt = '%/> '

to have the current directory in your prompt.  The manpage of tcsh
shows lots of escape sequences starting with % that you might find useful.

-giorgos


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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