Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!ut-sally!ut-ngp!auscso!johnk From: johnk@auscso.UUCP (John Knutson) Newsgroups: comp.unix.questions Subject: PS1 to show working dir Message-ID: <735@auscso.UUCP> Date: Tue, 17-Nov-87 21:53:43 EST Article-I.D.: auscso.735 Posted: Tue Nov 17 21:53:43 1987 Date-Received: Fri, 20-Nov-87 07:18:21 EST Reply-To: johnk@auscso.UUCP (John Knutson) Organization: Austin UNIX Users' Group, Austin, TX Lines: 14 It is possible, but since i don't know what machine or os or version you're running on (the only article i saw was a reply with NO included lines). Here, (ksh on sysv.3) PS1="`pwd` !$"; export PS1 will do the trick. will look like: /usr2/auug/johnk 5$ Pnews ; or whatever. I could even do something like: PS1="`cat $HOME/.signature` What?? " and that would work, but it would be quite cumbersome and why would i want my signature file in my prompt anyway?? :-) ~. -- John Knutson {ihnp4,allegra,ut-sally}!ut-ngp!auscso!johnk Living is easy with eyes closed, misunderstanding all you see Communicating, like in the good ol' days. Disclaimer: Don't look at me, I don't even work here!