Bash prompt
Alex Yarmol
alex.yarmol at gmail.com
Sun Jul 17 21:30:40 GMT 2005
Hi, dear FreeBSD developers etc. :)
I have a question.
How I can chage my bash prompt to this:
[user at host directory-name(e. g. "alex" for /usr/home/alex)]$
I assume that I need to do that:
export PS1='[\u@\h \(here i don't know what to do, i assume, that I
need to write "\p" or "\P", but it's not working)]\$
I've try to read "man bash", but didn't find what I want :(
Help me please.
Best regards, Alex Yarmol
More information about the freebsd-questions
mailing list