tmuxtmuxOptions, hooks and formats

Choose documentation 1

latest

tmux catalog version

Latest (3.7c) 3.7c 3.2a
English

option tmux3.7c

default-client-command

Set the default command to run when tmux is called without a command.

Scope
server
Type
tmux command
Default
new-session
Set
set-option -s default-client-command value
Read
show-options -s default-client-command

Description#

Set the default command to run when tmux is called without a command. The default is new-session.

Releases#

  • tmux 3.7c : present
  • tmux 3.2a : not present

Source#

Defined in
options-table.c:344
C source reference
options_table
CLI Manual
Original manual entry

Used by#

Library documentation that names this option.

Rust
options.generated.DEFAULT_CLIENT_COMMAND
Go
tmux.Server.SetDefaultClientCommand, tmux.ServerOptionValues.DefaultClientCommand
Esc

Type to search.

Reference preview Open reference