aboutsummaryrefslogtreecommitdiff
path: root/tmux.c
diff options
context:
space:
mode:
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");