From owner-freebsd-questions Wed Oct 18 18:14:33 2000 Delivered-To: freebsd-questions@freebsd.org Received: from gscamnlh01.wr.usgs.gov (gscamnlh01.wr.usgs.gov [130.118.4.115]) by hub.freebsd.org (Postfix) with ESMTP id 85CFA37B4F9 for ; Wed, 18 Oct 2000 18:14:31 -0700 (PDT) To: Rick Hamell Cc: freebsd-questions@freebsd.org Subject: Re: CSH Shell X-Mailer: Lotus Notes Release 5.0.3 March 21, 2000 Message-ID: From: rsowders@usgs.gov Date: Wed, 18 Oct 2000 18:14:23 -0700 X-MIMETrack: Serialize by Router on gscamnlh01/SERVER/USGS/DOI(Release 5.0.3 |March 21, 2000) at 10/18/2000 06:14:31 PM, Serialize complete at 10/18/2000 06:14:31 PM MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="=_alternative 0006D3658825697D_=" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multipart message in MIME format. --=_alternative 0006D3658825697D_= Content-Type: text/plain; charset="us-ascii" Try this alias cd 'cd \!*; set prompt="`echo $cwd`> "' cd It will give you a prompt of the curent working directory Try this set prompt="`hostname`:$USER>" It will give you a prompt of hostname:user --=_alternative 0006D3658825697D_= Content-Type: text/html; charset="us-ascii"
Try this

alias cd 'cd \!*; set prompt="`echo $cwd`> "'
cd

It will give you a prompt of the curent working directory

Try this

set prompt="`hostname`:$USER>"

It will give you a prompt of hostname:user --=_alternative 0006D3658825697D_=-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message