diff --git a/tmux.c b/tmux.c index 72ea52b3..af099e3f 100644 --- a/tmux.c +++ b/tmux.c @@ -462,7 +462,7 @@ main(int argc, char **argv) if (unlock) cmdflags &= ~CMD_STARTSERVER; else if (argc == 0) - cmdflags |= CMD_STARTSERVER; + cmdflags |= CMD_STARTSERVER|CMD_SENDENVIRON; else { /* * It sucks parsing the command string twice (in client and