From 2afdb3985aae08403e1e5ab6193cd67c695b6e2b Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Thu, 2 Jul 2015 10:01:42 +0100 Subject: 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. --- Src/input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Src/input.c') diff --git a/Src/input.c b/Src/input.c index 4a5bf89c6..613f89a25 100644 --- a/Src/input.c +++ b/Src/input.c @@ -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(); } } -- cgit 1.4.1