Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Message-ID: <3BB127B1.5010401@acedsl.com>
Date: Tue, 25 Sep 2001 20:56:17 -0400
From: "Matthew O. Persico" <persicom@acedsl.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.2) Gecko/20010726 Netscape6/6.1
X-Accept-Language: en-us
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Set window title
References: <20010925203731.B322@mainframe> <3BB0D1CB.A32C9F7@cportcorp.com> <20010925210429.A551@mainframe>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Martin Jerabek wrote:

> On Tue, Sep 25, 2001 at 02:49:47PM -0400, Peter Buckley wrote:
> 
>>This question showed up just last week IIRC.
>>
> 


I put/found this in my /etc/profile file. The first line is for the 
terminal. The rest is for the prompt, with colors.


if [ -z $DISPLAY ]
then
  export PS1='\[\033]0;\w\007
\033[32m\]\u@\h \[\033[33m\w\033[0m\]
[\#]$ '
else
  export PS1='\u@\h \w
[\#]$ '
fi
cd "$HOME"



-- 
Matthew O. Persico

http://www.acecape.com/dsl
AceDSL:The best ADSL in Verizon area


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

