diff options
| author | Peter Stephenson <p.w.stephenson@ntlworld.com> | 2021-07-23 20:27:38 +0100 |
|---|---|---|
| committer | Peter Stephenson <p.w.stephenson@ntlworld.com> | 2021-07-23 20:27:38 +0100 |
| commit | 50dc7f29131b668daaa82c02a826763e6e9a3a44 (patch) | |
| tree | 79a96332f186551b2151567ca67258fd1db7a42d /Src/lex.c | |
| parent | 49147: fix completion of linux kernel modules (diff) | |
| download | zsh-50dc7f29131b668daaa82c02a826763e6e9a3a44.tar zsh-50dc7f29131b668daaa82c02a826763e6e9a3a44.tar.gz zsh-50dc7f29131b668daaa82c02a826763e6e9a3a44.tar.bz2 zsh-50dc7f29131b668daaa82c02a826763e6e9a3a44.tar.lz zsh-50dc7f29131b668daaa82c02a826763e6e9a3a44.tar.xz zsh-50dc7f29131b668daaa82c02a826763e6e9a3a44.tar.zst zsh-50dc7f29131b668daaa82c02a826763e6e9a3a44.zip | |
49182: Turn off correction inside command substition.
In "A=$(PWD)" we dont't have the information to correct at the level of the
PWD subcommand, so don't try to do it as this causes a crash.
Diffstat (limited to 'Src/lex.c')
| -rw-r--r-- | Src/lex.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1889,6 +1889,7 @@ exalias(void) hwend(); if (interact && isset(SHINSTDIN) && !strin && incasepat <= 0 && tok == STRING && !nocorrect && !(inbufflags & INP_ALIAS) && + !hist_is_in_word() && (isset(CORRECTALL) || (isset(CORRECT) && incmdpos))) spckword(&tokstr, 1, incmdpos, 1); |
