mirror of
https://github.com/tmux/tmux.git
synced 2024-11-16 17:39:09 +00:00
The fix for default-path (use target session options instead of global options)
is required here as well, doh.
This commit is contained in:
parent
eb424cf63d
commit
e538d4adae
@ -154,7 +154,7 @@ cmd_split_window_exec(struct cmd *self, struct cmd_ctx *ctx)
|
|||||||
if (cmd == NULL)
|
if (cmd == NULL)
|
||||||
cmd = options_get_string(&s->options, "default-command");
|
cmd = options_get_string(&s->options, "default-command");
|
||||||
if (ctx->cmdclient == NULL || ctx->cmdclient->cwd == NULL)
|
if (ctx->cmdclient == NULL || ctx->cmdclient->cwd == NULL)
|
||||||
cwd = options_get_string(&global_options, "default-path");
|
cwd = options_get_string(&s->options, "default-path");
|
||||||
else
|
else
|
||||||
cwd = ctx->cmdclient->cwd;
|
cwd = ctx->cmdclient->cwd;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user