mirror of
https://github.com/tmux/tmux.git
synced 2025-09-01 04:27:00 +00:00
Merge branch 'obsd-master'
This commit is contained in:
3
job.c
3
job.c
@ -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 {
|
||||
|
@ -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."
|
||||
|
Reference in New Issue
Block a user