From c48d09ec8870ac218d6cc2bbec638d59839eda27 Mon Sep 17 00:00:00 2001 From: nicm Date: Tue, 25 Apr 2017 15:35:10 +0000 Subject: Do not update TERM into config file parsing has finished. --- cmd-respawn-pane.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd-respawn-pane.c') diff --git a/cmd-respawn-pane.c b/cmd-respawn-pane.c index defdc77e..a1178147 100644 --- a/cmd-respawn-pane.c +++ b/cmd-respawn-pane.c @@ -77,7 +77,7 @@ cmd_respawn_pane_exec(struct cmd *self, struct cmdq_item *item) if (envent != NULL) path = envent->value; - env = environ_for_session(s); + env = environ_for_session(s, 0); if (window_pane_spawn(wp, args->argc, args->argv, path, NULL, NULL, env, s->tio, &cause) != 0) { cmdq_error(item, "respawn pane failed: %s", cause); -- cgit v1.2.3