mirror of https://github.com/tmux/tmux.git
Expand client formats (like run-shell), from Stephen M Coakley.
parent
eb8e76d433
commit
975aa3ccd6
|
@ -81,7 +81,7 @@ cmd_if_shell_exec(struct cmd *self, struct cmd_q *cmdq)
|
|||
cwd = NULL;
|
||||
|
||||
ft = format_create(cmdq, 0);
|
||||
format_defaults(ft, NULL, s, wl, wp);
|
||||
format_defaults(ft, cmdq->state.c, s, wl, wp);
|
||||
shellcmd = format_expand(ft, args->argv[0]);
|
||||
format_free(ft);
|
||||
|
||||
|
|
Loading…
Reference in New Issue