Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jan 2000 22:57:10 -0800
From:      Jon Rust <jpr@vcnet.com>
To:        "freebsd-questions@FreeBSD.ORG" <freebsd-questions@FreeBSD.org>
Subject:   Re: Shell prompts
Message-ID:  <v0421012cb4b449e4424b@[209.239.239.22]>
In-Reply-To: <006c01bf67c0$aff34240$030a0a0a@jonkmangarage.com>
References:  <004a01bf67bf$42b16640$030a0a0a@jonkmangarage.com> <007f01bf67bf$5bfec160$1791ddd1@balfourplace.com> <006c01bf67c0$aff34240$030a0a0a@jonkmangarage.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?v0421012cb4b449e4424b>