Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Dec 2004 06:33:56 +0100
From:      Oliver Fuchs <oliverfuchs@onlinehome.de>
To:        freebsd-questions@FreeBSD.org
Subject:   Re: Change Bash-3.00 Prompt
Message-ID:  <20041220053356.GA1502@oliverfuchs.onlinehome.de>
In-Reply-To: <003201c4e640$a610a2a0$0200a8c0@PANASONIULSWMR>
References:  <003201c4e640$a610a2a0$0200a8c0@PANASONIULSWMR>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 19 Dec 2004, Adam wrote:

> I installed bash shell and now my prompt says "bash-3.00#"
> 
> How do I change the text before the #?  I'd like it to say bash# instead of
> bash-3.00#.

Hi,
I use this in my .bash_profile:

PS1='(\[$(tput md)\]\t <\w>\[$(tput me)\]) $(echo $?) \$ '
export PATH PS1

Oliver
-- 
... don't touch the bang bang fruit



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