1 |
Wade, |
2 |
Thanks. I found it. The laptop was setting PS1 in .bashrc while the |
3 |
other machines were not. I removed it and things are working nicely |
4 |
now. |
5 |
|
6 |
Cheers, |
7 |
Mark |
8 |
|
9 |
On 8/17/05, Mark Knecht <markknecht@×××××.com> wrote: |
10 |
> Wade, |
11 |
> Thanks for the response. I think this will help me get it straightened out. |
12 |
> |
13 |
> So far I see no difference between the machines that work and the |
14 |
> laptop which doesn't when doing the grep -r PS1 /etc/* command. |
15 |
> However, when I echo $PS1 at the command line I do get different |
16 |
> results: |
17 |
> |
18 |
> Laptop (fails) |
19 |
> |
20 |
> flash ~ $ echo $PS1 |
21 |
> \[\033[01;31m\]\h \[\033[01;34m\]\W \$ \[\033[00m\] |
22 |
> flash ~ $ |
23 |
> |
24 |
> Desktop (works) |
25 |
> |
26 |
> mark@godzilla ~ $ echo $PS1 |
27 |
> \[\033[01;32m\]\h \[\033[01;34m\]\w \$ \[\033[00m\] |
28 |
> mark@godzilla ~ $ |
29 |
> |
30 |
> Similar but not identical, and the issue right now is determining what |
31 |
> set these, and if indeed these differences even matter. |
32 |
> |
33 |
> Thanks, |
34 |
> Mark |
35 |
> On 8/17/05, Wade Brown <wanderer.wcb@×××××.com> wrote: |
36 |
> > The environment variable $PS1 controls what your prompt is, assuming |
37 |
> > you're using bash. This can be set in many many places, such as |
38 |
> > ~/.bashrc, /etc/profile (controlled by something along the lines of |
39 |
> > /etc/env.d/##bash), or even as a simple export. Try searching through |
40 |
> > your /etc on your different machines for the PS1 setting, and copy it |
41 |
> > to the one that's missing, a good place to start is "grep -r PS1 |
42 |
> > /etc/*" |
43 |
> > |
44 |
> > On 8/17/05, Mark Knecht <markknecht@×××××.com> wrote: |
45 |
> > > Hi, |
46 |
> > > On my laptop only when I open a gnome-terminal I'm no longer |
47 |
> > > greeted with a prompt that says: mark@flash ~ $ - it now it just says |
48 |
> > > flash ~ $. |
49 |
> > > |
50 |
> > > What controls this? |
51 |
> > > |
52 |
> > > I thought it was .bashrc but comparing my non-working laptop with |
53 |
> > > my 3 working desktop machines, which do say mark@machine, I see no |
54 |
> > > differences. |
55 |
> > > |
56 |
> > > Thanks in advance, |
57 |
> > > Mark |
58 |
> |
59 |
|
60 |
-- |
61 |
gentoo-user@g.o mailing list |