*BSD News Article 68905


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!news.kei.com!news.mathworks.com!fu-berlin.de!zib-berlin.de!news.tu-chemnitz.de!irz401!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Path in prompt !!?? help!
Date: 19 May 1996 09:54:42 GMT
Organization: Private BSD site, Dresden
Lines: 15
Message-ID: <4nmr52$i6@uriah.heep.sax.de>
References: <DrG8vz.HCE@student.twi.tudelft.nl>
  <Pine.LNX.3.91.960518123101.24008H-100000@gallup.cia-g.com>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6
X-Phone: +49-351-2012 669
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E

Stephen Fisher <lithium@cia-g.com> wrote:

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

Won't work, since the backticks will only be evaluated once, when
setting the prompt.

Same is true for ``set prompt = "${cwd} -> "''.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)