CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2009/09/01 07:09:50
Modified files:
usr.bin/tmux : cmd-respawn-window.c cmd-set-option.c
cmd-split-window.c names.c session.c tmux.1
tmux.c tmux.h window.c
Log message:
When using tmux as a login shell, there is currently no way to specify a shell
to be used as a login shell inside tmux, so add a default-shell session option.
This sets the shell invoked as a login shell when the default-command option is
empty.
The default option value is whichever of $SHELL, getpwuid(getuid())'s pw_shell
or /bin/sh is valid first.
Based on a diff from martynas@, changed by me to be a session option rather
than a window option.