mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-22 16:20:23 +02:00
35668: Improved fix for command/proc subst starting in alias.
Use input flag to suppress the unwanted backtracking. Add test for the extra case covered.
This commit is contained in:
parent
dce1f33c02
commit
2afdb3985a
5 changed files with 30 additions and 12 deletions
|
|
@ -591,7 +591,7 @@ inpoptop(void)
|
|||
* history is before, but they're both pushed onto
|
||||
* the input stack.
|
||||
*/
|
||||
if ((inbufflags & (INP_ALIAS|INP_HIST)) == INP_ALIAS)
|
||||
if ((inbufflags & (INP_ALIAS|INP_HIST|INP_RAW_KEEP)) == INP_ALIAS)
|
||||
zshlex_raw_back();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue