mirror of
https://github.com/tmux/tmux.git
synced 2025-09-01 20:57:00 +00:00
Accept 0 time as a shorthand for now to format_expand_time.
This commit is contained in:
@ -110,7 +110,7 @@ cmd_pipe_pane_exec(struct cmd *self, struct cmdq_item *item)
|
||||
/* Expand the command. */
|
||||
ft = format_create(item->client, item, FORMAT_NONE, 0);
|
||||
format_defaults(ft, c, s, wl, wp);
|
||||
cmd = format_expand_time(ft, args->argv[0], time(NULL));
|
||||
cmd = format_expand_time(ft, args->argv[0], 0);
|
||||
format_free(ft);
|
||||
|
||||
/* Fork the child. */
|
||||
|
Reference in New Issue
Block a user