nd.
>
> Attached is a revised version of the patch.
>
> Si
> >From b572f6168f98cf8745f210dfe8eaa93ecc3e4704 Mon Sep 17 00:00:00 2001
> From: Si Beaumont
> Date: Thu, 5 Feb 2015 10:28:41 +
> Subject: [PATCH] Update environment when switching sessions
>
> ---
> cmd-switch-client.
probably, thanks. it looks ok but i'm not sure if it is a good idea
On Mon, Apr 13, 2015 at 09:13:29AM +0100, Si Beaumont wrote:
> On Wed, 01 Apr 2015 at 11:00, Si Beaumont wrote:
> > On Wed, 01 Apr 2015 at 01:24, Thomas Adam wrote:
> > > On Tue, Mar 31, 2015 at 08:56:15AM +0100, Si Beaumont wrot
On Wed, 01 Apr 2015 at 11:00, Si Beaumont wrote:
> On Wed, 01 Apr 2015 at 01:24, Thomas Adam wrote:
> > On Tue, Mar 31, 2015 at 08:56:15AM +0100, Si Beaumont wrote:
> > > + update = options_get_string(&global_s_options,
> > > "update-environment");
> >
> > I think you want &s->opt
Ah, yes! Sorry I think I cribbed from the wrong place and what you say is what
happens in the attach command.
Attached is a revised version of the patch.
Si
>From b572f6168f98cf8745f210dfe8eaa93ecc3e4704 Mon Sep 17 00:00:00 2001
From: Si Beaumont
Date: Thu, 5 Feb 2015 10:28:41 +0000
Subje
On Tue, Mar 31, 2015 at 08:56:15AM +0100, Si Beaumont wrote:
> + /* Update the environment if we're switching clients */
> + if (c != NULL) {
> + if (s != c->session) {
> + update = options_get_string(&global_s_options,
> "update-environment");
I think you
umont
Date: Thu, 5 Feb 2015 10:28:41 +
Subject: [PATCH] Update environment when switching sessions
---
cmd-switch-client.c | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/cmd-switch-client.c b/cmd-switch-client.c
index d8f7346..c46cfa2 100644
--- a/cmd-switch-cl