Date: Wed, 13 Mar 1996 13:56:15 -0500 (EST) From: Brian Tao <taob@io.org> To: Michael Smith <msmith@atrad.adelaide.edu.au> Cc: Mike Coffey & Yvonne Shevnin <mikec@mediacity.com>, questions@FreeBSD.org Subject: Re: How to make current directory show at the commandline? Message-ID: <Pine.BSF.3.91.960313135152.2002B-100000@cabal.io.org> In-Reply-To: <199603131010.UAA02676@genesis.atrad.adelaide.edu.au>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 13 Mar 1996, Michael Smith wrote:
>
> If you're using tcsh, try this in your .cshrc file :
>
> set prompt=`hostname -s`:%~\>
>
> Read the tcsh manual page for more details.
You should do that, Mike. :) tcsh adds a bunch of new $prompt
tokens. %m expands to the hostname, for example. My tcsh prompt is a
nice two-liner. I like to see the full cwd, but still have lots of
room to type on the command line.
set prompt='\n%B[%T]%m:%/%b\n<%h> '
... giving you this:
[13:54]zot:/u/staff/taob/News/alt/comp/periphs/mainboard/asus
<355>
The first line is in bold text too.
--
Brian Tao (BT300, taob@io.org)
Systems Administrator, Internex Online Inc.
"Though this be madness, yet there is method in't"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.960313135152.2002B-100000>
