Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <3BB127B1.5010401@acedsl.com> Date: Tue, 25 Sep 2001 20:56:17 -0400 From: "Matthew O. Persico" 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 AT cygwin DOT com Subject: Re: Set window title References: <20010925203731 DOT B322 AT mainframe> <3BB0D1CB DOT A32C9F7 AT cportcorp DOT com> <20010925210429 DOT A551 AT 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/