This is the mail archive of the
mailing list for the Cygwin project.
RE: bash window title - can I add hostname to it?
- From: "Gord Wait" <Gord_Wait at spectrumsignal dot com>
- To: <cygwin at cygwin dot com>
- Date: Tue, 24 Sep 2002 14:24:32 -0700
- Subject: RE: bash window title - can I add hostname to it?
Thanks, works perfectly!
I just added my own \u@\h to the default PS1 in my .bash_profile..
From: Igor Pechtchanski [mailto:firstname.lastname@example.org]
Sent: Tuesday, September 24, 2002 2:08 PM
To: Gord Wait
Subject: Re: bash window title - can I add hostname to it?
On Tue, 24 Sep 2002, Gord Wait wrote:
> I've been starting to use the telnet feature in cygwin's inetutils a lot
> lately, and it would be great if I could learn how to set the label of
> the bash window to include hostname as well as the current directory it
> displays now. I can't tell which of the two bash windows is which since
> both are running a 24 hour long FPGA compile..
> Is there a way to do this?
> I'd be happy if it was a copy of the "PS1" value..
> Gord Wait
Search the archives for "settitle".
|\ _,,,---,,_ email@example.com
ZZZzz /,`.-'`' -. ;-;;,_ firstname.lastname@example.org
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"Water molecules expand as they grow warmer" (C) Popular Science, Oct'02, p.51
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html