*BSD News Article 68607


Return to BSD News archive

Newsgroups: comp.unix.bsd.freebsd.misc
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.ecn.uoknor.edu!news.wildstar.net!cancer.vividnet.com!hunter.premier.net!bofh.dot!news.mathworks.com!newsfeed.internetmci.com!howland.reston.ans.net!EU.net!sun4nl!surfnet.nl!tudelft.nl!dutiwy!news
From: "M.V. van der Star" <star>
Subject: Path in prompt !!?? help!
Sender: news@student.twi.tudelft.nl
Message-ID: <DrG8vz.HCE@student.twi.tudelft.nl>
Date: Wed, 15 May 1996 13:45:35 GMT
X-Nntp-Posting-Host: dutikc1.twi.tudelft.nl
X-Url: news:comp.unix.bsd.freebsd.misc
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0
X-Mailer: Mozilla 1.1N (X11; I; SunOS 4.1.4 sun4m)
Organization: Technische Universiteit Delft,
Lines: 16

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