[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ps1

From: Neszt Tibor
Subject: Re: ps1
Date: Thu, 4 Nov 2004 19:36:24 +0100 (MET)


> > 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

if [ "$TERM" -eq "screen" ]; then
  PS1='my favorite prompt'

But when I create a new window:

set|grep PS1

PS1='address@hidden:\w\$ '

Any ideas?

 Neszt Tibor

reply via email to

[Prev in Thread] Current Thread [Next in Thread]