spawn login shells by default, adapt manpage bits as well.

ok nicm@
This commit is contained in:
Pierre-Yves Ritschard
2009-06-02 15:55:32 +00:00
parent f60bc7e03b
commit dc373abba8
2 changed files with 2 additions and 2 deletions

2
tmux.c
View File

@ -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");