mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 13:37:12 +00:00
Add default-client-command to set the command used is tmux is run
without a command (the default stays new-session). From David Mandelberg in GitHub issue 4422.
This commit is contained in:
11
tmux.1
11
tmux.1
@ -252,9 +252,10 @@ was given) and off.
|
||||
This specifies one of a set of commands used to control
|
||||
.Nm ,
|
||||
as described in the following sections.
|
||||
If no commands are specified, the
|
||||
.Ic new-session
|
||||
command is assumed.
|
||||
If no commands are specified, the command in
|
||||
.Ic default-client-command
|
||||
is assumed, which defaults to
|
||||
.Ic new-session .
|
||||
.El
|
||||
.Sh DEFAULT KEY BINDINGS
|
||||
.Nm
|
||||
@ -4083,6 +4084,10 @@ where the number is a hexadecimal number.
|
||||
Give the command to pipe to if the
|
||||
.Ic copy-pipe
|
||||
copy mode command is used without arguments.
|
||||
.It Ic default-client-command Ar command
|
||||
Set the default command to run when tmux is called without a command.
|
||||
The default is
|
||||
.Ic new-session .
|
||||
.It Ic default-terminal Ar terminal
|
||||
Set the default terminal for new windows created in this session - the
|
||||
default value of the
|
||||
|
Reference in New Issue
Block a user