diff options
Diffstat (limited to 'Src/Zle/zle_tricky.c')
-rw-r--r-- | Src/Zle/zle_tricky.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Src/Zle/zle_tricky.c b/Src/Zle/zle_tricky.c index e6b8cfff7..c98c8b526 100644 --- a/Src/Zle/zle_tricky.c +++ b/Src/Zle/zle_tricky.c @@ -1380,6 +1380,12 @@ get_comp_string(void) qisuf = n; } autoq = ztrdup(q); + + if (instring == 2) { + for (q = s; *q; q++) + if (*q == '\\' && q[1] == '!') + *q = Bnull; + } } /* While building the quoted form, we also clean up the command line. */ for (p = s, tt = qword, i = wb, j = 0; *p; p++, tt++, i++) |