zsh-workers
 help / color / mirror / code / Atom feed
From: Marlon Richert <marlon.richert@gmail.com>
To: Zsh hackers list <zsh-workers@zsh.org>
Subject: Re: [BUG] _gnu_generic completer produces broken output
Date: Sun, 1 Aug 2021 17:26:53 +0300	[thread overview]
Message-ID: <CAHLkEDuvQrxM3xzuGt1s0CPv-C4YEARLCM4SdDe6g8V_4kkPCg@mail.gmail.com> (raw)
In-Reply-To: <CAHLkEDtadOTh46ECTUZ5j_5BQ=qCxQdE29A77dUvHZJks4rLbg@mail.gmail.com>

Actually, maybe I'm just using it wrong. This appears to work correctly:

compdef _gnu_generic -default- -P "(${(@kj:|:)commands})"



On Thu, Jul 22, 2021 at 10:39 PM Marlon Richert
<marlon.richert@gmail.com> wrote:
>
> Fails with both 5.8 and the current master branch (commit d9e5ef020).
> Looks like the same bug as workers 48091.
>
> % autoload compinit && compinit
> % compdef _gnu_generic -command- -P '*'
> % pip3 -
> --cache-dir
> --cert
> --client-cert
> --disable-pip-version-check
> --exists-action
> --help
> --isolated
> --log
> --no-cache-dir
> --no-color
> --proxy
> --quiet
> --retries
> --timeout
> --trusted-host
> --verbose
> --version
>
>
>
>
>
> -h
>
>
>
>
>
> -q
>
>
>
> -v
> -V
> -- Store the cache data in <dir>.
> -- Path to alternate CA bundle.
> -- Path to SSL client certificate, a single file
> -- Don't periodically check PyPI to determine
> -- Default action when a path already exists-
> -- Show help.
> -- Run pip in an isolated mode, ignoring
> -- Path to a verbose appending log.
> -- Disable the cache.
> -- Suppress colored output
> -- Specify a proxy in the form
> -- Give less output. Option is additive, and can be
> -- Maximum number of retries each connection should
> -- Set the socket timeout (default 15 seconds).
> -- Mark this host as trusted, even though it does
> -- Give more output. Option is additive, and can be
> -- Show version and exit.
> --cache-dir
> --cert
> --client-cert
> --disable-pip-version-check
> --exists-action
> --help
> --isolated
> --log
> --no-cache-dir
> --no-color
> --proxy
> --quiet
> --retries
> --timeout
> --trusted-host
> --verbose
> --version
>
>
>
>
>
> -h
>
>
>
>
>
> -q
>
>
>
> -v
> -V
> -- Store the cache data in <dir>.
> -- Path to alternate CA bundle.
> -- Path to SSL client certificate, a single file
> -- Don't periodically check PyPI to determine
> -- Default action when a path already exists-
> -- Show help.
> -- Run pip in an isolated mode, ignoring
> -- Path to a verbose appending log.
> -- Disable the cache.
> -- Suppress colored output
> -- Specify a proxy in the form
> -- Give less output. Option is additive, and can be
> -- Maximum number of retries each connection should
> -- Set the socket timeout (default 15 seconds).
> -- Mark this host as trusted, even though it does
> -- Give more output. Option is additive, and can be
> -- Show version and exit.
> --cache-dir
> --cert
> --client-cert
> --disable-pip-version-check
> --exists-action
> --help
> --isolated
> --log
> --no-cache-dir
> --no-color
> --proxy
> --quiet
> --retries
> --timeout
> --trusted-host
> --verbose
> --version
>
>
>
>
>
> -h
>
>
>
>
>
> -q
>
>
>
> -v
> -V
> -- Store the cache data in <dir>.
> -- Path to alternate CA bundle.
> -- Path to SSL client certificate, a single file
> -- Don't periodically check PyPI to determine
> -- Default action when a path already exists-
> -- Show help.
> -- Run pip in an isolated mode, ignoring
> -- Path to a verbose appending log.
> -- Disable the cache.
> -- Suppress colored output
> -- Specify a proxy in the form
> -- Give less output. Option is additive, and can be
> -- Maximum number of retries each connection should
> -- Set the socket timeout (default 15 seconds).
> -- Mark this host as trusted, even though it does
> -- Give more output. Option is additive, and can be
> -- Show version and exit.
> % pip3 -


      parent reply	other threads:[~2021-08-01 14:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-22 19:39 Marlon Richert
2021-07-27  3:57 ` Jun T
2021-07-28  9:38   ` Jun T
2021-07-28 10:29     ` Mikael Magnusson
2021-07-28 11:13       ` Jun T
2021-08-01 14:26 ` Marlon Richert [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAHLkEDuvQrxM3xzuGt1s0CPv-C4YEARLCM4SdDe6g8V_4kkPCg@mail.gmail.com \
    --to=marlon.richert@gmail.com \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).