Expand client formats (like run-shell), from Stephen M Coakley.

pull/390/merge
nicm 2016-04-29 17:12:12 +00:00
parent eb8e76d433
commit 975aa3ccd6
1 changed files with 1 additions and 1 deletions

View File

@ -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);