From ff7b5ef005b42abc699850940e35dbf7c1da98a0 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. --- usr.bin/tmux/cmd-split-window.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.bin/tmux/cmd-split-window.c') diff --git a/usr.bin/tmux/cmd-split-window.c b/usr.bin/tmux/cmd-split-window.c index 661fd0959c0..fa42ba43bc9 100644 --- a/usr.bin/tmux/cmd-split-window.c +++ b/usr.bin/tmux/cmd-split-window.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-split-window.c,v 1.83 2017/04/22 10:22:39 nicm Exp $ */ +/* $OpenBSD: cmd-split-window.c,v 1.84 2017/04/25 15:35:10 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott @@ -144,7 +144,7 @@ cmd_split_window_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(new_wp, argc, argv, path, shell, cwd, env, s->tio, &cause) != 0) { environ_free(env); -- cgit v1.2.3-59-g8ed1b