aboutsummaryrefslogtreecommitdiff
path: root/tmux.c
diff options
context:
space:
mode:
authorPierre-Yves Ritschard <pyr@openbsd.org>2009-06-02 15:55:32 +0000
committerPierre-Yves Ritschard <pyr@openbsd.org>2009-06-02 15:55:32 +0000
commitdc373abba88155afb47e31c6f7785a8cedffba42 (patch)
treed9b3a19bb279fb4c0ee869a17b592930ae1a890f /tmux.c
parentf60bc7e03bc54f8170ca8eca325e14d31fe01a3a (diff)
downloadrtmux-dc373abba88155afb47e31c6f7785a8cedffba42.tar.gz
rtmux-dc373abba88155afb47e31c6f7785a8cedffba42.tar.bz2
rtmux-dc373abba88155afb47e31c6f7785a8cedffba42.zip
spawn login shells by default, adapt manpage bits as well.
ok nicm@
Diffstat (limited to 'tmux.c')
-rw-r--r--tmux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tmux.c b/tmux.c
index 820ffb6b..069dc551 100644
--- a/tmux.c
+++ b/tmux.c
@@ -369,7 +369,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");