Bash Prompt in an XTerm
-----BEGIN PGP SIGNED MESSAGE-----
I just switched from Red Hat 4.2 to Debian 1.3.1 and I am now realizing how much
Red Hat really hides you from things.
I don't like the default setting for the bash prompt Debian give you and I want
to change it. I edited my /etc/profile and added the line:
PS1="[\u@\h \W]\\$ "
So my prompt looks like"
[tcole@atheist tcole]$
tcole is the user, atheist is the computers name and the second tcole is the
last part of the working dir.
This works fine when I am at the console as a normal user but as root I only
get:
atheist#
and In XFree86 it gives me:
bash-2.00$
I can live with the way root's prompt as I try to use root very little but I
would like to change the prompt in my XTerms.
What file would I edit to do this? I tried adding this to my .bash_profile
and looked through the bash man page. I would also like to make these changes
global.
And help would be cool. Thanks.
- -------------------------
E-Mail: Travis Cole <tcole@iname.com> -- <tcole@methow.com>
http://www.methow.com/~tcole -- Get my Public Key here
Date: 21-Jul-97
Time: 21:02:35
640Kb should be enough for anybody
Bill Gates
- -------------------------
-----BEGIN PGP SIGNATURE-----
Version: 2.6.3a
Charset: noconv
iQCVAwUBM9QzGmgYC2+RaorhAQHOdwP9G/Xm0LESFxlyr5TvsrH9G/vvE2Zptbai
gFsXHE/tAwoTWWKlkHMe+3/IDQW7CT59FUxuMFNbBAE7ZDsXk9hBpScBSTH8t74F
F3gI+IMNRr2JTQRQRm21hAa/gCUd36/UIt2Bp/RNxYPX7h8OtwrqOFDsoMuoYinp
XgvO0U2jOfg=
=+lYF
-----END PGP SIGNATURE-----
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org .
Trouble? e-mail to templin@bucknell.edu .
Reply to: