Have idea for titlebar tweak -- need help with syntax

Nellis, Kenneth Kenneth.Nellis@acs-inc.com
Tue Sep 28 15:37:00 GMT 2010


> 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


More information about the Cygwin mailing list