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

Re: Superfluous completion for noglob



Am Montag, 3. Juni 2024, 22:48:23 MESZ schrieben Sie:
> On Mon, Jun 3, 2024 at 12:55 PM Patrick <patrick1@xxxxxxxxx> wrote:
> > Pressing 'Ctrl-x h' after 'noglob cd' reveals:
> >     tags in context :completion::complete:cd::
> >         local-directories   (_cd)
> >     
> >     tags in context :completion::complete:noglob::
> >         use-compctl         (_default _python_argcomplete_global)
> >         globbed-files       (_files _default _python_argcomplete_global)
> > 
> > I would expect that plain 'cd' and 'noglob cd' offer the same completion
> > items.
> 
> They do, for me, zsh -f with default completions.
> 
>  _python_argcomplete_global is not part of the base zsh source, so it must
> have been added to your completion functions somehow.  I would look for
> something there that has unwittingly or misguidedly changed the completion
> for "noglob".

Thanks for the hint! That completion function was installed by a standard 
package from Arch Linux, python-argcomplete. De-installing the package fixed 
the problem.

BR, Patrick







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