From owner-freebsd-questions Sun Jun 6 20:13: 7 1999 Delivered-To: freebsd-questions@freebsd.org Received: from hotmail.com (law2-f74.hotmail.com [216.32.181.74]) by hub.freebsd.org (Postfix) with SMTP id C5E0615292 for ; Sun, 6 Jun 1999 20:13:05 -0700 (PDT) (envelope-from sdorey@hotmail.com) Received: (qmail 35320 invoked by uid 0); 7 Jun 1999 03:13:05 -0000 Message-ID: <19990607031305.35319.qmail@hotmail.com> Received: from 155.246.1.104 by www.hotmail.com with HTTP; Sun, 06 Jun 1999 20:13:05 PDT X-Originating-IP: [155.246.1.104] From: Sebastien Dorey To: ilia@cgilh.chel.su, freebsd-questions@FreeBSD.ORG Subject: Re: prompt in csh and terminals Date: Mon, 07 Jun 1999 03:13:05 GMT Mime-Version: 1.0 Content-Type: text/plain; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >From: Ilia Chipitsine >To: Bart Trzynadlowski >CC: freebsd-questions@FreeBSD.ORG >Subject: Re: prompt in csh and terminals >Date: Sun, 6 Jun 1999 08:59:33 +0600 (ESS) > >On Sat, 5 Jun 1999, Bart Trzynadlowski wrote: > > > Hi, > > I have three simple questions. > > > > 1) How can I set the prompt in csh and sh so that it reflects the >current > > path... in zsh I got it working so it now looks like: > > > > /home/btrzynadlowski% > I already post an answer but I find another one: set prompt='%M- %~ >' %M gives the name ofthe machine %~ gives the current directory I hope it will help Seb _______________________________________________________________ Get Free Email and Do More On The Web. Visit http://www.msn.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message