Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Jul 2005 23:34:17 +0200
From:      Daniel Gerzo <danger@rulez.sk>
To:        Alex Yarmol <alex.yarmol@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Bash prompt
Message-ID:  <995791390.20050717233417@rulez.sk>
In-Reply-To: <f1b7642105071714301ee2a19b@mail.gmail.com>
References:  <f1b7642105071714301ee2a19b@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

This is a cryptographically signed message in MIME format.

------------F14417A179854
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

Hi Alex,

Sunday, July 17, 2005, 11:30:38 PM, you wrote:

> How I can chage my bash prompt to this:
> [user@host directory-name(e. g. "alex" for /usr/home/alex)]$

> I assume that I need to do that:

> export PS1=3D'[\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)]\$

try google fisrt next time :-)

http://freeunix.dyndns.org:8088/site2/howto/Bash.shtml#prompt

--=20
Best Regards,

 DanGer, ICQ: 261701668  | e-mail protecting at: http://www.2pu.net/
 http://danger.rulez.sk  | proxy list at:        http://www.proxy-web.com/
                         | FreeBSD - The Power to Serve!

[ "Bother!" said Pooh as he >S*W*I*P*E*D< a better tagline. ]

------------F14417A179854--




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