Add new default-client-command option

Fixes #4416
This commit is contained in:
David Mandelberg
2025-03-21 16:07:31 -04:00
parent 557c2d7b25
commit b01062ec14
3 changed files with 35 additions and 22 deletions

View File

@@ -285,6 +285,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,