option tmux3.2a
default-command
Set the command used for new windows (if not specified when the window is created) to shell-command, which may be any sh(1) command.
- Scope
- session
- Type
- Text
- Set
-
set-optiondefault-command value - Read
-
show-optionsdefault-command
Description#
Set the command used for new windows (if not specified when the window is created) to shell-command, which may be any sh(1) command. The default is an empty string, which instructs
tmux to create a login shell using the value of the default-shell option.Releases#
Source#
- Defined in
options-table.c:382- C source reference
options_table- CLI Manual
- Original manual entry
Used by#
Library documentation that names this option.