From: Mark Knecht <markknecht@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] One machine's terminals don't say 'mark@flash' anymore
Date: Wed, 17 Aug 2005 15:32:24 -0700 [thread overview]
Message-ID: <5bdc1c8b05081715327147eeef@mail.gmail.com> (raw)
In-Reply-To: <cee44eb3050817144673cbb75b@mail.gmail.com>
Wade,
Thanks for the response. I think this will help me get it straightened out.
So far I see no difference between the machines that work and the
laptop which doesn't when doing the grep -r PS1 /etc/* command.
However, when I echo $PS1 at the command line I do get different
results:
Laptop (fails)
flash ~ $ echo $PS1
\[\033[01;31m\]\h \[\033[01;34m\]\W \$ \[\033[00m\]
flash ~ $
Desktop (works)
mark@godzilla ~ $ echo $PS1
\[\033[01;32m\]\h \[\033[01;34m\]\w \$ \[\033[00m\]
mark@godzilla ~ $
Similar but not identical, and the issue right now is determining what
set these, and if indeed these differences even matter.
Thanks,
Mark
On 8/17/05, Wade Brown <wanderer.wcb@gmail.com> wrote:
> The environment variable $PS1 controls what your prompt is, assuming
> you're using bash. This can be set in many many places, such as
> ~/.bashrc, /etc/profile (controlled by something along the lines of
> /etc/env.d/##bash), or even as a simple export. Try searching through
> your /etc on your different machines for the PS1 setting, and copy it
> to the one that's missing, a good place to start is "grep -r PS1
> /etc/*"
>
> On 8/17/05, Mark Knecht <markknecht@gmail.com> wrote:
> > Hi,
> > On my laptop only when I open a gnome-terminal I'm no longer
> > greeted with a prompt that says: mark@flash ~ $ - it now it just says
> > flash ~ $.
> >
> > What controls this?
> >
> > I thought it was .bashrc but comparing my non-working laptop with
> > my 3 working desktop machines, which do say mark@machine, I see no
> > differences.
> >
> > Thanks in advance,
> > Mark
--
gentoo-user@gentoo.org mailing list
next prev parent reply other threads:[~2005-08-17 22:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-17 21:22 [gentoo-user] One machine's terminals don't say 'mark@flash' anymore Mark Knecht
2005-08-17 21:46 ` Wade Brown
2005-08-17 22:32 ` Mark Knecht [this message]
2005-08-17 22:38 ` Mark Knecht
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5bdc1c8b05081715327147eeef@mail.gmail.com \
--to=markknecht@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox