This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: Have idea for titlebar tweak -- need help with syntax
- From: Eirik Nordbrøden <eirik dot nordbroden at morecom dot no>
- To: "SJ Wright" <sjwright68 at charter dot net>, "Cygwin User Mailing List" <cygwin at cygwin dot com>
- Date: Fri, 24 Sep 2010 12:31:41 +0200
- Subject: RE: Have idea for titlebar tweak -- need help with syntax
- References: <4C9C6C3A.9020805@charter.net>
>
> Any help in this regard would be much appreciated.
>
> Steve W.
I have these in my .bash_profile file:
# Terminal title
PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"'
Works at least for xterm and MinTTY.
Eirik Nordbrøden, Morecom A/S
(+47) 90174789
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple