fa.openbsd.source-changes
[Top] [All Lists]

CVS: cvs.openbsd.org: src

Subject: CVS: cvs.openbsd.org: src
From: Nicholas Marriott
Date: Tue, 01 Sep 2009 13:11:32 UTC
Newsgroups: fa.openbsd.source-changes

CVSROOT:        /cvs
Module name:    src
Changes by:     nicm@xxxxxxxxxxxxxxx    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.


<Prev in Thread] Current Thread [Next in Thread>