Merge branch 'obsd-master'

This commit is contained in:
Thomas Adam
2017-04-25 18:01:11 +01:00
8 changed files with 47 additions and 16 deletions

View File

@ -143,7 +143,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);