current pwd in prompt

Beckwith macbeth at artecon.UUCP
Wed Feb 17 07:35:38 AEST 1988


In article <1981 at ho95e.ATT.COM> wcs at ho95e.UUCP (46323-Bill.Stewart,2G218,x0705,) writes:
<:In article <11656 at brl-adm.ARPA> Mensing.HENR801c at Xerox.COM writes:
<:|>Can anyone explain to me how to get my prompt to be the current directory? I
<:|>have tried several methods without any success. It seems that no matter what
<:|>method I try, the prompt is evaluated once and never changes.
<	Korn Shell keeps the current directory in a variable $PWD,
<	which is updated every time you change directory.

I realize that this discussion ran its course many moons ago, but I did not
catch any of it. Could some kind soul send me their archive of it? We don't
use Korn Shell here, so I'm interested only in the less straightforward methods
for sh and csh.

Thanks.

-- 
+ David Macy-Beckwith  Artecon, Inc. {sdcsvax,hplabs}!hp-sdd!artecon!macbeth  +
+ The Company has enough on its plate    ||   "I didn't come here to argue!"  +
+ without supporting the crazed postings ||   "Yes, you did!"                 +
+ of its newsaholic minions.             ||   "No, I didn't!"                 +



More information about the Comp.unix.questions mailing list