This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Have idea for titlebar tweak -- need help with syntax


> 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]