mirror of
https://github.com/tmux/tmux.git
synced 2025-01-06 07:48:48 +00:00
Insert alias in the right place, GitHub issue 2842.
This commit is contained in:
parent
0084cbef5a
commit
c0048d6d20
@ -772,7 +772,7 @@ cmd_parse_expand_alias(struct cmd_parse_command *cmd,
|
||||
TAILQ_REMOVE(&cmd->arguments, first, entry);
|
||||
cmd_parse_free_argument(first);
|
||||
|
||||
after = TAILQ_NEXT(TAILQ_FIRST(&last->arguments), entry);
|
||||
after = TAILQ_FIRST(&last->arguments);
|
||||
TAILQ_FOREACH_SAFE(arg, &cmd->arguments, entry, arg1) {
|
||||
TAILQ_REMOVE(&cmd->arguments, arg, entry);
|
||||
if (after == NULL)
|
||||
|
Loading…
Reference in New Issue
Block a user