mirror of
https://github.com/tmux/tmux.git
synced 2025-01-12 03:08:46 +00:00
Use login shells by default.
This commit is contained in:
parent
6528d47ed8
commit
658659532a
4
tmux.c
4
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");
|
||||
|
Loading…
Reference in New Issue
Block a user