Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!pasteur!ames!lll-winken!uunet!mcvax!hp4nl!botter!star.cs.vu.nl!maart From: maart@cs.vu.nl (Maarten Litmaath) Newsgroups: comp.unix.questions Subject: Re^2: Getting UNIX prompt to display current directory Keywords: UNIX prompt directories pwd Message-ID: <2205@solo1.cs.vu.nl> Date: 23 Mar 89 04:09:46 GMT References: <5582@ncsugn.ncsu.edu> <2187@solo11.cs.vu.nl> <3175@nunki.usc.edu> Organization: V.U. Informatica, Amsterdam, the Netherlands Lines: 12 connet@sal50.usc.edu (David Connet) writes: \... \Actually you can just get away with \ PS1="\$PWD: " \ ^ \The backslash is required. The shell (at least ksh) then reevaluates \the PS1 each time. Precisely! *ksh*, not sh. -- Modeless editors and strong typing: |Maarten Litmaath @ VU Amsterdam: both for people with weak memories. |maart@cs.vu.nl, mcvax!botter!maart