Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Dec 2004 16:10:01 +0000
From:      Alexandr <admin@alexandr.fdns.net>
To:        Adam <adam@jamradar.com>
Cc:        freebsd-questions@FreeBSD.org
Subject:   Re: Change "Bash-3.00#" Prompt???
Message-ID:  <20041220161001.GD97744@alexandr.fdns.net>
In-Reply-To: <001601c4e63c$f77fca70$0200a8c0@PANASONIULSWMR>
References:  <001601c4e63c$f77fca70$0200a8c0@PANASONIULSWMR>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Dec 19, 2004 at 08:38:09PM -0600, 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#.

Adam, you need to change your .profile file.
Variable PS1 has beatifull discribe in man bash

For example I have:
PS1="\u - \A # " ; export PS1

and my promti is 
admin - 16:08 # 
(with space on the end)
for bash#
PS1="bash#" ; export PS1
 
> Thanks
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"



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