[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Access environment variables in screenrc
From: |
Jürgen Weigert |
Subject: |
Re: Access environment variables in screenrc |
Date: |
Sat, 7 Mar 2015 18:47:39 +0100 |
When I put this line in my ~/.screenrc
screen 7 env shelltitle="window 7 at $HOSTNAME" bash
then screen will create a shell in window 7, that has the machine's
hostname as part of its shelltitle env variable.
cheers, JW-
On Sat, Mar 7, 2015 at 1:02 PM, John Blakeman <address@hidden> wrote:
> I'd like to be able to put something like:
>
> shelltitle "$HOSTNAME"
>
> in my screenrc, and have it work.
>
> Furthermore, I'd like to access any environment variable in my screenrc that
> isn't a screen specific environment variable. Is this possible?
>
> Thanks,
>
> John
>
> _______________________________________________
> screen-users mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/screen-users
>