aboutsummaryrefslogtreecommitdiff
path: root/cmd-load-buffer.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-09-01 13:09:49 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-09-01 13:09:49 +0000
commit7d5e4947160d9355353c29a983e373b66c05abef (patch)
treeefc2a0bce29bc661d657895828bb486c632a8cb1 /cmd-load-buffer.c
parentf8aa5821be6bb802785c5ca7c23c91465cfba4a3 (diff)
downloadrtmux-7d5e4947160d9355353c29a983e373b66c05abef.tar.gz
rtmux-7d5e4947160d9355353c29a983e373b66c05abef.tar.bz2
rtmux-7d5e4947160d9355353c29a983e373b66c05abef.zip
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.
Diffstat (limited to 'cmd-load-buffer.c')
0 files changed, 0 insertions, 0 deletions