summaryrefslogtreecommitdiffstats
path: root/session.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 /session.c
parent4a51a9d9d5b43f6b576692f9ce5f5ccfa425f806 (diff)
Do not update TERM into config file parsing has finished.
Diffstat (limited to 'session.c')
-rw-r--r--session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/session.c b/session.c
index cb8ed1eb..eee478dd 100644
--- a/session.c
+++ b/session.c
@@ -360,7 +360,7 @@ session_new(struct session *s, const char *name, int argc, char **argv,
shell = _PATH_BSHELL;
hlimit = options_get_number(s->options, "history-limit");
- env = environ_for_session(s);
+ env = environ_for_session(s, 0);
w = window_create_spawn(name, argc, argv, path, shell, cwd, env, s->tio,
s->sx, s->sy, hlimit, cause);
if (w == NULL) {