Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Nov 1998 06:55:14 -0700 (MST)
From:      Jason Schwab <freaker@null.net>
To:        Geoffrey Robinson <geoffr@globalserve.net>
Cc:        questions@FreeBSD.ORG
Subject:   Re: Setting BASH Prompt
Message-ID:  <Pine.BSF.3.96.981102065416.9362A-100000@shell1.thuntek.net>
In-Reply-To: <363DB3A8.1AACCE3@globalserve.net>

next in thread | previous in thread | raw e-mail | index | archive | help
in the file /home/blah/.profile or /etc/profile put this:


PS1="\u@\h(\w):"

and you would get

user@host(dir): 




-
__________________________________
&&&&>         FreaKeR        <&&&&
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
freaker@null.net | www.freaker.net

 Why is windows like an used car?
	It comes preowned.
----------------------------------


On Mon, 2 Nov 1998, Geoffrey Robinson wrote:

> How do you change the BASH prompts? The man page seems to leave a lot to be
> desired on that. :)
> 
> -- 
> Geoffrey Robinson
> geoffr@globalserve.net
> Oakville, Ontario, Canada.
> 
> 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?Pine.BSF.3.96.981102065416.9362A-100000>