Date: Thu, 19 Jun 1997 21:27:02 +0200 From: Ollivier Robert <roberto@keltia.freenix.fr> To: chat@FreeBSD.ORG Subject: Re: OS/2 users going to FreeBSD? :-) Message-ID: <19970619212702.11106@keltia.freenix.fr> In-Reply-To: <199706190442.AAA06733@ethanol.gnu.ai.mit.edu>; from Joel N. Weber II on Thu, Jun 19, 1997 at 12:42:00AM -0400 References: <199706190227.LAA24488@genesis.atrad.adelaide.edu.au> <199706190442.AAA06733@ethanol.gnu.ai.mit.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
According to Joel N. Weber II: > set prompt=`hostname -s`:%~\> > > (Yes, your hostname gets set to `-s'...) I don't see the need to use `` inside a prompt under tcsh., especially for hostname... There are such nice builtins escape sequences just for that such as "%m" (hostname, 1st component only), "%M" (full hostname) and all others. set prompt="%m:%~>" is smaller, faster (doesn't fork at every prompt), and doesn't have the inconvenient of "-s"... -- Ollivier ROBERT -=- FreeBSD: There are no limits -=- roberto@keltia.freenix.fr FreeBSD keltia.freenix.fr 3.0-CURRENT #20: Fri Jun 13 00:16:13 CEST 1997
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970619212702.11106>