Date: Wed, 18 Oct 2000 16:55:12 -0500 From: "Doug Poland" <doug@polands.org> To: "Rick Hamell" <hamellr@heorot.1nova.com> Cc: <freebsd-questions@freebsd.org> Subject: RE: CSH Shell Message-ID: <NDBBKMNOJKJGAEKJNLIAMEGNEMAA.doug@polands.org> In-Reply-To: <Pine.BSF.4.21.0010171257460.12552-100000@heorot.1nova.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Rick, try this... set prompt = "`hostname -s`% " I recommend "Using csh & tcsh", O'Reilly, ISBN 1-56592-132-1 Spend an evening with this book and you'll be a happy camper. Regards, Doug > -----Original Message----- > From: owner-freebsd-questions@FreeBSD.ORG > [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Rick Hamell > Sent: Tuesday, October 17, 2000 08:00 > To: freebsd-questions@freebsd.org > Subject: CSH Shell > > > > Taking my first steps into scripting, my first task is to figure > out how to customize csh. Problem is, I can't seem to make something like > set prompt="'hostname' %" work... The command hostname dosen't seem to > work at all. I figure I've got the syntax wrong, but where... ? :) What I > get is 'hostname' btw. Thanks much! > > > Rick > > ******************************************************************* > Rick's FreeBSD Web page http://heorot.1nova.com/freebsd > Ace Logan's Hardware Guide http://www.shatteredcrystal.net/hardware > ***FreeBSD - The Power to Serve! http://www.freebsd.org > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message 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?NDBBKMNOJKJGAEKJNLIAMEGNEMAA.doug>