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

From: Brad Smith (brad_stephenssmith@yahoo.com)
Date: Mon Jun 23 2003 - 10:00:20 EDT


Fish the lines that set your prompt out of ~/.bashrc and copy them to the system-wide /etc/bashrc.
I think that should do the trick.

--Brad
--- Eric Jahn <eric@ejahn.net> wrote:
> But I don't have an operable user to copy from. All my users (including
> root) now show "bash-2.05b$" initially, until I log in to a specific
> user, then all is normal as before.
>
> On Sun, 2003-06-22 at 15:03, Chuck Fricke wrote:
> > In RedHat you would just copy over the .bashrc file from the operable users
> > home directory.
> >
> > Chuck
> > ----- Original Message -----
> > From: "Eric Jahn" <eric@ejahn.net>
> > To: "SLUG" <slug@nks.net>
> > Sent: Sunday, June 22, 2003 2:35 PM
> > Subject: [SLUG] bash prompt - setting it to current user (Gentoo)
> >
> >
> > > 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:19:48 EDT