Path: utzoo!utgpu!water!watmath!clyde!rutgers!topaz.rutgers.edu!ron From: ron@topaz.rutgers.edu (Ron Natalie) Newsgroups: comp.unix.wizards Subject: Re: current pwd in prompt Message-ID: <17877@topaz.rutgers.edu> Date: 8 Feb 88 16:36:04 GMT References: <11657@brl-adm.ARPA> Organization: The Office of Mismanagement and Bean Counting Lines: 13 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