From owner-freebsd-questions Thu Jul 1 16:27:40 1999 Delivered-To: freebsd-questions@freebsd.org Received: from ucsu.Colorado.EDU (ucsu.Colorado.EDU [128.138.129.83]) by hub.freebsd.org (Postfix) with ESMTP id ADB1314D90 for ; Thu, 1 Jul 1999 16:27:38 -0700 (PDT) (envelope-from doranj@ucsu.Colorado.EDU) Received: (from doranj@localhost) by ucsu.Colorado.EDU (8.9.3/8.9.3/ITS-5.0/standard) id RAA15393 for freebsd-questions@freebsd.org; Thu, 1 Jul 1999 17:27:37 -0600 (MDT) From: Jonathon Doran Message-Id: <199907012327.RAA15393@ucsu.Colorado.EDU> Subject: Re: PWD Shell Prompt Using sh To: freebsd-questions@freebsd.org Date: Thu, 1 Jul 1999 17:27:37 -0600 (MDT) In-Reply-To: from "Johnny F. Morris" at Jul 1, 99 06:16:14 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Hello, > I'd like to change my shell prompt to wear it displays my pwd followed by > an # or whatever, I don't really care about anything besides getting the > pwd. Rather than go into the answer here, I think I'll point you to the FAQ from comp.unix.questions. It contains the answer to your question (for sh), how to do it for other shells, and possibly some other questions you may have in the future. This is a valuable resource which a lot of people might not know about. http://www.faqs.org/faqs/unix-faq/faq/part2/index.html Yours is question 2.4 on the page. If you are unable to view this document, please send me email privately and I'll forward it to you. Jon Doran To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message