Path: utzoo!lsuc!ncrcan!brambo!morgan From: morgan@brambo.UUCP (Morgan W. Jones) Newsgroups: comp.unix.wizards Subject: Re: current pwd in prompt Message-ID: <275@brambo.UUCP> Date: 11 Feb 88 20:37:22 GMT References: <17877@topaz.rutgers.edu} Organization: Bramalea Software Inc., Bramalea, Ont. Lines: 21 From article <17877@topaz.rutgers.edu}, by ron@topaz.rutgers.edu (Ron Natalie): } This works with any real shell: } } PS1="." } } (I don't recall who posted this, but it was one of the best answers I } heard on it). } } On the Korn shell (but not most Bourne shell PS1 is evaluated each time } it is printed so you can: } } PS1="`pwd` " } } -Ron Doesn't work on mine (SysVR3 on Prime EXL316). -- Morgan Jones - Bramalea Software Inc. ...!utgpu!telly \ !brambo!morgan ...!{uunet!mnetor, watmath!utai}!lsuc!ncrcan / "These might not even be my opinions, let alone anyone else's."