Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Duplicate results in _python - (Re: [MINOR BUG] Duplicate results in tab-menu)



On Thu, Jun 23, 2022 at 10:41 PM Bart Schaefer
<schaefer@xxxxxxxxxxxxxxxx> wrote:
>
> The trouble here is that the completion invoked by _dispatch is
> explicitly allowed to change _compskip to control the behavior of
> _dispatch.  It just happens that any completion that relies on calling
> _normal may do so incorrectly.
>
> [...]  So the fix appears to be to make _compskip local to
> _python, which seems a bit icky because it doesn't help with any other
> completions that may have it wrong.  Better suggestions?

As there's been no follow-up, and this also appears to address issues
raised in https://zsh.org/workers/45767, I'm going to go ahead and
commit the change to _python.




Messages sorted by: Reverse Date, Date, Thread, Author