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: "Nellis, Kenneth" <Kenneth dot Nellis at acs-inc dot com>
- To: "Cygwin User Mailing List" <cygwin at cygwin dot com>
- Date: Tue, 28 Sep 2010 08:04:52 -0500
- Subject: RE: Have idea for titlebar tweak -- need help with syntax
- References: <4C9C9332.1000605@charter.net>
> From: SJ Wright
> Eirik NordbrÃden wrote:
> >> 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
> >
> >
> >
> Well, I *did* say "Any help".
> I don't see the shell or running app in that line. I'll keep looking
> and
> asking around. Thank you for your contribution.
> Steve w>
The shell is implied by Eirik's reference to file .bash_profile,
the shell being bash. If you use bash, add the line Eirik offers
to your bash profile file and you'll see it works. Tweak as desired.
--Ken Nellis