Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!purdue!decwrl!Angelo!lindy!eirik@lurch.Stanford.EDU From: eirik@lurch.Stanford.EDU (Eirik Fuller) Newsgroups: comp.unix.questions Subject: Re: Bourne Shell Question? Summary: don't take this seriously Keywords: PS1 Message-ID: <1895@lindy.Stanford.EDU> Date: 2 Feb 89 01:47:35 GMT References: <8517@dasys1.UUCP> <201@carroll1.UUCP> Sender: news@lindy.Stanford.EDU Organization: InterViews/Allegro group, Stanford University Lines: 22 In-reply-to: tkopp@carroll1.UUCP (Tom Kopp) In article <201@carroll1.UUCP>, tkopp@carroll1 (Tom Kopp) writes: >In article <8517@dasys1.UUCP>, dap9702@dasys1.UUCP (Dan Powers) writes: >> Does anyone know how to get a prompt in Bourne Shell that contains the >> current working directory (pwd). I can get this to work in C shell by > ... >I have not yet seen this done on a Bourne Shell, and I have asked a few >people and none of them know how to do it. > ... It's been too long since the last time the following answer was posted. If I remembered who last posted it, I'd give credit. I thought it was hilarious last time; certainly no worse than the periodic asking of this perpetual question. The answer is ... PS1=. Hahahahahaha I liked this answer so much when I first saw it that ever since, every Unix account I've got has "set prompt=." in .cshrc