Date: Mon, 07 Jun 1999 03:13:05 GMT From: Sebastien Dorey <sdorey@hotmail.com> To: ilia@cgilh.chel.su, freebsd-questions@FreeBSD.ORG Subject: Re: prompt in csh and terminals Message-ID: <19990607031305.35319.qmail@hotmail.com>
next in thread | raw e-mail | index | archive | help
>From: Ilia Chipitsine <ilia@cgilh.chel.su> >To: Bart Trzynadlowski <btrzynadlowski@powernet.net> >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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990607031305.35319.qmail>