From owner-freebsd-questions Tue Jan 25 22:57:20 2000 Delivered-To: freebsd-questions@freebsd.org Received: from vcnet.com (mail.vcnet.com [209.239.239.15]) by hub.freebsd.org (Postfix) with SMTP id 7CAC015006 for ; Tue, 25 Jan 2000 22:57:13 -0800 (PST) (envelope-from jpr@vcnet.com) Received: (qmail 67215 invoked from network); 26 Jan 2000 06:57:12 -0000 Received: from joff.vc.net (HELO ?209.239.239.22?) (209.239.239.22) by mail.vcnet.com with SMTP; 26 Jan 2000 06:57:12 -0000 Mime-Version: 1.0 Message-Id: In-Reply-To: <006c01bf67c0$aff34240$030a0a0a@jonkmangarage.com> References: <004a01bf67bf$42b16640$030a0a0a@jonkmangarage.com> <007f01bf67bf$5bfec160$1791ddd1@balfourplace.com> <006c01bf67c0$aff34240$030a0a0a@jonkmangarage.com> Date: Tue, 25 Jan 2000 22:57:10 -0800 To: "freebsd-questions@FreeBSD.ORG" From: Jon Rust Subject: Re: Shell prompts Content-Type: text/plain; charset="us-ascii" ; format="flowed" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG You've neglected to tell us what shell you're using, so it makes answering a little tougher. I use bash(1), which uses the PS1 environment variable to do what you want: export PS1="\u in \w \$" jon At 12:46 AM -0500 1/26/00, Matthew Jonkman wrote: >That tells me all I'd want to know, but how can I make the prompt itself be >something to the effect of: > >Username in /etc/mail # > >Thanks To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message