Merge branch 'obsd-master'

This commit is contained in:
Thomas Adam
2025-06-16 02:01:07 +01:00
2 changed files with 4 additions and 3 deletions

3
job.c
View File

@ -174,7 +174,8 @@ job_run(const char *cmd, int argc, char **argv, struct environ *e,
closefrom(STDERR_FILENO + 1);
if (cmd != NULL) {
setenv("SHELL", shell, 1);
if (flags & JOB_DEFAULTSHELL)
setenv("SHELL", shell, 1);
execl(shell, argv0, "-c", cmd, (char *)NULL);
fatal("execl failed");
} else {

View File

@ -1052,7 +1052,7 @@ const struct options_table_entry options_table[] = {
{ .name = "copy-mode-position-style",
.type = OPTIONS_TABLE_STRING,
.scope = OPTIONS_TABLE_WINDOW,
.default_str = "#{mode-style}",
.default_str = "#{E:mode-style}",
.flags = OPTIONS_TABLE_IS_STYLE,
.separator = ",",
.text = "Style of position indicator in copy mode."
@ -1061,7 +1061,7 @@ const struct options_table_entry options_table[] = {
{ .name = "copy-mode-selection-style",
.type = OPTIONS_TABLE_STRING,
.scope = OPTIONS_TABLE_WINDOW,
.default_str = "#{mode-style}",
.default_str = "#{E:mode-style}",
.flags = OPTIONS_TABLE_IS_STYLE,
.separator = ",",
.text = "Style of selection in copy mode."