Merge branch 'obsd-master'

This commit is contained in:
Thomas Adam
2019-04-28 23:02:30 +01:00
8 changed files with 192 additions and 63 deletions

View File

@ -291,6 +291,8 @@ spawn_pane(struct spawn_context *sc, char **cause)
/* Create an environment for this pane. */
child = environ_for_session(s, 0);
if (sc->environ != NULL)
environ_copy(sc->environ, child);
environ_set(child, "TMUX_PANE", "%%%u", new_wp->id);
/*