aboutsummaryrefslogtreecommitdiff
path: root/tmux.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-06-25 15:44:03 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-06-25 15:44:03 +0000
commit658659532a23bdaa29c67f7b2cac19c42666cd06 (patch)
tree3a56a72225c9d26e8c744b6fca73735669e3daf6 /tmux.c
parent6528d47ed827657ed7eafbc547fa2112f04cf6cf (diff)
downloadrtmux-658659532a23bdaa29c67f7b2cac19c42666cd06.tar.gz
rtmux-658659532a23bdaa29c67f7b2cac19c42666cd06.tar.bz2
rtmux-658659532a23bdaa29c67f7b2cac19c42666cd06.zip
Use login shells by default.
Diffstat (limited to 'tmux.c')
-rw-r--r--tmux.c4
1 files 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 <nicm@users.sourceforge.net>
@@ -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");