[SLUG] bash prompt - setting it to current user (Gentoo)

From: Eric Jahn (eric@ejahn.net)
Date: Sun Jun 22 2003 - 14:35:35 EDT


I have a stupid question, yet the answer eludes me...

everything was working great with my console (KDE's Konsole), then I did
a big system upgrade which overwrote some config files and now when I
open a new console it shows the prompt thusly:

bash-2.05b$

when it used to show my username/host, etc. from the outset like this:

ejahn@localhost ejahn $

Then, if I log in as "ejahn", then it shows everything in the correct
username/host format as before. I know how to configure a bash prompt,
but what I don't understand is how to make a new console display a
prompt for the current user (not the generic "bash-2.05b$" one) without
having to subsequently log in to the current user with a password.
Thanks!



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 17:17:37 EDT