[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: rename each screen according to hostname
From: |
Stephane Chazelas |
Subject: |
Re: rename each screen according to hostname |
Date: |
Tue, 27 May 2008 10:57:59 +0100 |
User-agent: |
Mutt/1.5.16 (2007-09-19) |
On Tue, May 27, 2008 at 07:51:58PM +1000, Chris Henderson wrote:
> I ssh to a lot of servers and every time I have to do C-a A to rename
> the screen session to the hostname I ssh to. Is there anyway screen
> can automatically change the name to the host I am connected to?
[...]
ssh() { screen -X title "address@hidden"; command ssh "$@"; }
--
Stéphane