Path: utzoo!utgpu!water!watmath!clyde!rutgers!gatech!hubcap!ncrcae!ncr-sd!hp-sdd!artecon!macbeth From: macbeth@artecon.UUCP (Beckwith) Newsgroups: comp.unix.questions Subject: Re: current pwd in prompt Message-ID: <812@artecon.UUCP> Date: 16 Feb 88 21:35:38 GMT References: <11656@brl-adm.ARPA> <253@icus.UUCP> <1981@ho95e.ATT.COM> Reply-To: macbeth@artecon.UUCP (David Macy-Beckwith) Organization: artecon Lines: 20 In article <1981@ho95e.ATT.COM> wcs@ho95e.UUCP (46323-Bill.Stewart,2G218,x0705,) writes: <:In article <11656@brl-adm.ARPA> Mensing.HENR801c@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!" +