diff options
author | Pierre-Yves Ritschard <pyr@openbsd.org> | 2009-06-02 15:55:32 +0000 |
---|---|---|
committer | Pierre-Yves Ritschard <pyr@openbsd.org> | 2009-06-02 15:55:32 +0000 |
commit | dc373abba88155afb47e31c6f7785a8cedffba42 (patch) | |
tree | d9b3a19bb279fb4c0ee869a17b592930ae1a890f | |
parent | f60bc7e03bc54f8170ca8eca325e14d31fe01a3a (diff) | |
download | rtmux-dc373abba88155afb47e31c6f7785a8cedffba42.tar.gz rtmux-dc373abba88155afb47e31c6f7785a8cedffba42.tar.bz2 rtmux-dc373abba88155afb47e31c6f7785a8cedffba42.zip |
spawn login shells by default, adapt manpage bits as well.
ok nicm@
-rw-r--r-- | tmux.1 | 2 | ||||
-rw-r--r-- | tmux.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -947,7 +947,7 @@ Set the command used for new windows (if not specified when the window is created) to .Ar command . The default is -.Dq exec $SHELL . +.Dq exec $SHELL -l . .It Ic default-path Ar path Set the default working directory for processes created from keys, or interactively from the prompt. @@ -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"); |