mirror of
https://github.com/tmux/tmux.git
synced 2025-09-01 20:57:00 +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:
@ -286,6 +286,13 @@ const struct options_table_entry options_table[] = {
|
||||
.text = "Style of the cursor."
|
||||
},
|
||||
|
||||
{ .name = "default-client-command",
|
||||
.type = OPTIONS_TABLE_COMMAND,
|
||||
.scope = OPTIONS_TABLE_SERVER,
|
||||
.default_str = "new-session",
|
||||
.text = "Default command to run when tmux is run without a command."
|
||||
},
|
||||
|
||||
{ .name = "default-terminal",
|
||||
.type = OPTIONS_TABLE_STRING,
|
||||
.scope = OPTIONS_TABLE_SERVER,
|
||||
|
Reference in New Issue
Block a user