mirror of
https://github.com/tmux/tmux.git
synced 2024-12-04 19:58:48 +00:00
Expand client formats (like run-shell), from Stephen M Coakley.
This commit is contained in:
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
Block a user