delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Date: | Sat, 5 Apr 2003 11:08:02 -0500 |
From: | Ajay Simha <asimha AT cisco DOT com> |
To: | cygwin AT cygwin DOT com |
Cc: | Ajay Simha <asimha AT cisco DOT com> |
Subject: | Bash and xterm window title |
Message-ID: | <20030405160802.GC2216@cisco.com> |
Mime-Version: | 1.0 |
User-Agent: | Mutt/1.4i |
Hi, I had some problem with a recent version of tcsh and so I'm using bash. The only problem I have with bash is that it re-writes the window title with the current working directory. I use a script to name(title) my xterms and bash overwrites it. tcsh does not do that. I set PS1="$ " and now it doesn't do it. The original PS1 is set to: $ echo $PS1 \[\033]0;\w\007 \033[32m\]\u@\h \[\033[33m\w\033[0m\] $ The desired behavior in my case is just the prompt gets updated with the PWD and not the window title. How can I do this? TIA, -ajay -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |