Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jan 2000 10:08:26 -0500
From:      "Matthew Jonkman" <jonkman@bussert.com>
To:        <freebsd-questions@FreeBSD.ORG>, "Jon Rust" <jpr@vcnet.com>
Subject:   Re: Shell prompts
Message-ID:  <00b401bf680f$35b1b4e0$350a0a0a@bussert.com.Bussert>
References:  <004a01bf67bf$42b16640$030a0a0a@jonkmangarage.com><007f01bf67bf$5bfec160$1791ddd1@balfourplace.com><006c01bf67c0$aff34240$030a0a0a@jonkmangarage.com> <v0421012cb4b449e4424b@[209.239.239.22]>

next in thread | previous in thread | raw e-mail | index | archive | help
My next question (you probably already anticipated this)

How do I change my default shell without removing and adding myself again?

=========================================

Matthew Jonkman
Bussert Consulting





----- Original Message -----
From: "Jon Rust" <jpr@vcnet.com>
To: <freebsd-questions@FreeBSD.ORG>
Sent: Wednesday, January 26, 2000 1:57 AM
Subject: Re: Shell prompts


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




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?00b401bf680f$35b1b4e0$350a0a0a>