[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ps1
From: |
Joe Zbiciak |
Subject: |
Re: ps1 |
Date: |
Thu, 4 Nov 2004 10:47:19 -0800 (PST) |
Neszt,
/etc/profile and .bash_profile only get run by "login
shells." They don't get run by subshells. You need to
configure your PS1 in .bashrc and/or /etc/bashrc.
Also, is your PS1 exported? That may explain why subshells
aren't getting the PS1 you expect. Either that, or
something in /etc/bashrc is hosing you.
At any rate, it's not a screen-specific issue.
Regards,
--Joe
--- Neszt Tibor <address@hidden> wrote:
> Hello!
>
> > > How can I see the default prompt ($PS1) for all the
> windows in
> > ^^^
> > "see" or "set"?
> > > my screen?
>
> Ohh, sorry. Yes, I mean SET.
>
> > Your default prompt has AFAIK nothing to do with your
> screen
> > configuration. For "bash" it's probably set in
> "~/.bashrc"
>
> When I login, my prompt is good. I set it in the
> .bash_profile. And I also
> set in the /etc/profile. Moreover, I tried to put this in
> the
> /etc/profile:
>
> if [ "$TERM" -eq "screen" ]; then
> PS1='my favorite prompt'
> fi
>
> But when I create a new window:
>
> set|grep PS1
>
> PS1='address@hidden:\w\$ '
>
> Any ideas?
>
> Regards,
> Neszt Tibor
>
>
>
> _______________________________________________
> screen-users mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/screen-users
>
=====
We sell Spatulas, and that's all!
http://spatula-city.org/~im14u2c/
http://sdk-1600.spatula-city.org/
http://intyos.spatula-city.org/
- ps1, Neszt Tibor, 2004/11/04
- Re: ps1, Hendrik Mangels, 2004/11/04
- Re: ps1, Neszt Tibor, 2004/11/04
- Re: ps1,
Joe Zbiciak <=
- Re: ps1, Neszt Tibor, 2004/11/04
- new window, Neszt Tibor, 2004/11/05
- Re: new window, Shigehiko SASAKI, 2004/11/05
- Re: new window, Buddy Burden, 2004/11/08
- Re: new window, Emil Beinroth, 2004/11/10
- Re: new window, Buddy Burden, 2004/11/28
- Re: new window, Thomas Köhler, 2004/11/29