*BSD News Article 68873


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.mel.connect.com.au!news.mira.net.au!inquo!bofh.dot!in-news.erinet.com!bug.rahul.net!rahul.net!a2i!nmia!gallup.cia-g.com!lithium
From: Stephen Fisher <lithium@cia-g.com>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Path in prompt !!?? help!
Date: Sat, 18 May 1996 12:31:25 -0600
Organization: New Mexico Internet Access
Lines: 22
Message-ID: <Pine.LNX.3.91.960518123101.24008H-100000@gallup.cia-g.com>
References: <DrG8vz.HCE@student.twi.tudelft.nl>
NNTP-Posting-Host: gallup.cia-g.com
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
In-Reply-To: <DrG8vz.HCE@student.twi.tudelft.nl> 

Have you tried set prompt = "`pwd` -> "  ??

On Wed, 15 May 1996, M.V. van der Star wrote:

> Hi, this may be a dumb question but I have recently installed FreeBSD 2.05
> and I wonder how to get my prompt to display the current directory !
> I have tried things like (from the top of my head) :
> 
> set prompt = "$cwd -> "
> 
> this sets the prompt to the directory I'm currently in but doesn't change when
> I move to a different directory !
> 
> Please help, and if you can, also send your reply to me through e-mail.
> Thanks!!
> My e-mail address is : s795238@dutiwy.twi.tudelft.nl
> 
> Ciao,
> Menno
> 
> 
>