diff --git a/cmd-respawn-window.c b/cmd-respawn-window.c index 429beba5..e13e179e 100644 --- a/cmd-respawn-window.c +++ b/cmd-respawn-window.c @@ -1,4 +1,4 @@ -/* $Id: cmd-respawn-window.c,v 1.2 2008-06-30 18:45:02 nicm Exp $ */ +/* $Id: cmd-respawn-window.c,v 1.3 2008-06-30 19:11:33 nicm Exp $ */ /* * Copyright (c) 2008 Nicholas Marriott @@ -45,7 +45,7 @@ cmd_respawn_window_exec(struct cmd *self, struct cmd_ctx *ctx) struct cmd_target_data *data = self->data; struct winlink *wl; struct session *s; - const char *env[] = { NULL, "TERM=screen", NULL }; + const char *env[] = { "TERM=screen", NULL }; if ((wl = cmd_find_window(ctx, data->target, &s)) == NULL) return; diff --git a/session.c b/session.c index 5d3f79ea..b16482e7 100644 --- a/session.c +++ b/session.c @@ -1,4 +1,4 @@ -/* $Id: session.c,v 1.40 2008-06-29 07:04:30 nicm Exp $ */ +/* $Id: session.c,v 1.41 2008-06-30 19:11:33 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -191,7 +191,7 @@ struct winlink * session_new(struct session *s, const char *name, const char *cmd, int idx) { struct window *w; - const char *env[] = { NULL, "TERM=screen", NULL }; + const char *env[] = { NULL /* TMUX= */, "TERM=screen", NULL }; char buf[256]; u_int i, hlimit;