summaryrefslogtreecommitdiffstats
path: root/cmd-respawn-window.c
diff options
context:
space:
mode:
authornicm <nicm>2017-04-25 15:35:10 +0000
committernicm <nicm>2017-04-25 15:35:10 +0000
commitc48d09ec8870ac218d6cc2bbec638d59839eda27 (patch)
tree6fa9eb5674abcad38ddc108802b9cb80c793f222 /cmd-respawn-window.c
parent4a51a9d9d5b43f6b576692f9ce5f5ccfa425f806 (diff)
Do not update TERM into config file parsing has finished.
Diffstat (limited to 'cmd-respawn-window.c')
-rw-r--r--cmd-respawn-window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-respawn-window.c b/cmd-respawn-window.c
index f9edbec7..48e6a97f 100644
--- a/cmd-respawn-window.c
+++ b/cmd-respawn-window.c
@@ -81,7 +81,7 @@ cmd_respawn_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(wp, args->argc, args->argv, path, NULL, NULL, env,
s->tio, &cause) != 0) {
cmdq_error(item, "respawn window failed: %s", cause);