Note about default-shell, from Meriel Sartha Mittelbach.

(cherry picked from commit a4c051f27d)
This commit is contained in:
nicm
2026-09-23 12:37:50 +00:00
committed by Nicholas Marriott
parent 3f3a9eb7b9
commit 4ab83b755e

14
tmux.1
View File

@@ -1,4 +1,4 @@
.\" $OpenBSD: tmux.1,v 1.1172 2026/09/22 06:58:05 nicm Exp $ .\" $OpenBSD: tmux.1,v 1.1173 2026/09/23 12:37:50 nicm Exp $
.\" .\"
.\" Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> .\" Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
.\" .\"
@@ -14,7 +14,7 @@
.\" IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING .\" IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
.\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\" .\"
.Dd $Mdocdate: September 22 2026 $ .Dd $Mdocdate: September 23 2026 $
.Dt TMUX 1 .Dt TMUX 1
.Os .Os
.Sh NAME .Sh NAME
@@ -994,13 +994,19 @@ Will run:
/bin/sh \-c \[aq]vi \[ti]/.tmux.conf\[aq] /bin/sh \-c \[aq]vi \[ti]/.tmux.conf\[aq]
.Ed .Ed
.Pp .Pp
Unless specified, tmux uses the value of
.Ic default\-shell
in place of
.Pa /bin/sh .
.Pp
Additionally, the Additionally, the
.Ic new\-window , .Ic new\-window ,
.Ic new\-session , .Ic new\-session ,
.Ic split\-window , .Ic split\-window ,
.Ic respawn\-window .Ic respawn\-window ,
and
.Ic respawn\-pane .Ic respawn\-pane
and
.Ic display\-popup
commands allow commands allow
.Ar shell\-command .Ar shell\-command
to be given as multiple arguments and executed directly (without to be given as multiple arguments and executed directly (without