From 658659532a23bdaa29c67f7b2cac19c42666cd06 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Thu, 25 Jun 2009 15:44:03 +0000 Subject: [PATCH] Use login shells by default. --- tmux.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tmux.c b/tmux.c index e2cb146e..0f0fab0e 100644 --- a/tmux.c +++ b/tmux.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tmux.c,v 1.2 2009/06/02 10:49:40 ray Exp $ */ +/* $Id: tmux.c,v 1.125 2009-06-25 15:44:03 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -385,7 +385,7 @@ main(int argc, char **argv) shell = _PATH_BSHELL; } options_set_string( - &global_options, "default-command", "exec %s", shell); + &global_options, "default-command", "exec %s -l", shell); if (getcwd(cwd, sizeof cwd) == NULL) { log_warn("getcwd");