Commit 232b4357 authored by Peter Stephenson's avatar Peter Stephenson

43969: untokenize Dash for compctl with GLOB_SUBST set

parent b3778fee
2019-01-03 Peter Stephenson <p.stephenson@samsung.com>
* 43969: Src/Zle/compctl.c: untokenize Dash for compctl with
GLOB_SUBST set.
2018-01-01 dana <dana@dana.is>
* 43960: Completion/Linux/Command/_setsid,
......
......@@ -3256,6 +3256,15 @@ makecomplistflags(Compctl cc, char *s, int incmd, int compadd)
rpl = strlen(rpre);
rsl = strlen(rsuf);
}
else
{
for (p = rpre; *p; ++p)
if (*p == Dash)
*p = '-';
for (p = rsuf; *p; ++p)
if (*p == Dash)
*p = '-';
}
untokenize(lpre);
untokenize(lsuf);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment