help / color / mirror / code / Atom feed
From: Mikael Magnusson <mikachu@gmail.com>
To: Marlon Richert <marlon.richert@gmail.com>
Cc: Zsh hackers list <zsh-workers@zsh.org>
Subject: Re: Why is an 'x' appended in _prefix completer?
Date: Wed, 8 Mar 2023 13:48:05 +0100	[thread overview]
Message-ID: <CAHYJk3TpbOxurP-gVBsKLRj8NayCCVJENOK37c5UrDo6fvFQYw@mail.gmail.com> (raw)
In-Reply-To: <CAHLkEDtGLGnA9XcRY9hgzKjKWyVmCPFVBi-a-HXN7wrTKFQKtA@mail.gmail.com>

On 3/8/23, Marlon Richert <marlon.richert@gmail.com> wrote:
> In _prefix, line 53, why is an 'x' appended to the completion? Looks
> like a (21-year-old) typo to me.

See the comment above addx() in zle_tricky.c and get_comp_string() (i
don't actually recommend looking at this code). I can't guarantee that
the x in _prefix is like this x, but it seems likely. Also, the patch
where it was added:

Mikael Magnusson

  reply	other threads:[~2023-03-08 12:48 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-08 10:32 Marlon Richert
2023-03-08 12:48 ` Mikael Magnusson [this message]
2023-03-08 17:48   ` Bart Schaefer
2023-03-09  9:21     ` Peter Stephenson
2023-03-09 15:29       ` Bart Schaefer
2023-04-11  9:49 Marlon Richert

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:

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

  git send-email \
    --in-reply-to=CAHYJk3TpbOxurP-gVBsKLRj8NayCCVJENOK37c5UrDo6fvFQYw@mail.gmail.com \
    --to=mikachu@gmail.com \
    --cc=marlon.richert@gmail.com \
    --cc=zsh-workers@zsh.org \


* 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


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).