Change "Bash-3.00#" Prompt???
Alexandr
admin at alexandr.fdns.net
Mon Dec 20 06:06:29 PST 2004
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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions
mailing list