diff options
author | Peter Stephenson <pws@zsh.org> | 2015-07-02 10:01:42 +0100 |
---|---|---|
committer | Peter Stephenson <pws@zsh.org> | 2015-07-02 10:01:42 +0100 |
commit | 2afdb3985aae08403e1e5ab6193cd67c695b6e2b (patch) | |
tree | e6c66c0eefef3309f34d7153c7ecfd5949edd99f /Src/input.c | |
parent | dce1f33c02c855e9d5f588716d7e9ddaea3887ba (diff) | |
download | zsh-2afdb3985aae08403e1e5ab6193cd67c695b6e2b.tar.gz zsh-2afdb3985aae08403e1e5ab6193cd67c695b6e2b.tar.xz zsh-2afdb3985aae08403e1e5ab6193cd67c695b6e2b.zip |
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.
Diffstat (limited to 'Src/input.c')
-rw-r--r-- | Src/input.c | 2 |
1 files changed, 1 insertions, 1 deletions
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(); } } |