From: Bart Schaefer <schaefer@brasslantern.com>
To: Mikael Magnusson <mikachu@gmail.com>
Cc: Zsh hackers list <zsh-workers@zsh.org>
Subject: Re: Prompt percent completion for truncations
Date: Mon, 21 Mar 2022 14:42:10 -0700 [thread overview]
Message-ID: <CAH+w=7ZAFqrN0mNVxizsSrYs_wShTCEsup68BW=k_Sd31rpnkw@mail.gmail.com> (raw)
In-Reply-To: <CAHYJk3RZXYcs4vxtMvdBMJ42Li475XUtvKrZ1+a92QQSDdme1A@mail.gmail.com>
On Mon, Mar 21, 2022 at 2:16 PM Mikael Magnusson <mikachu@gmail.com> wrote:
>
> I have a feeling this is my fault, but I think the statute of
> limitations has expired for this particular crime.
Hah! Yes.
> I'm pretty sure I was unaware of the intricacies of $comp_state[quote]
> back then, and did most of my testing inside single quotes.
The quoting actually doesn't matter, same thing happens with
backslash, single, or double quotes.
> > There is also this:
> > % PS2=%\<
> > replacement string
> > % PS2=%\[\<
> > number
That seems to be coming from
_message -e ternary-prompt-expression number
which I think arises from treating as a ternary anything that doesn't
match the preceding list of specs, but I'm not certain.
prev parent reply other threads:[~2022-03-21 22:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-21 18:32 Bart Schaefer
2022-03-21 21:15 ` Mikael Magnusson
2022-03-21 21:42 ` Bart Schaefer [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='CAH+w=7ZAFqrN0mNVxizsSrYs_wShTCEsup68BW=k_Sd31rpnkw@mail.gmail.com' \
--to=schaefer@brasslantern.com \
--cc=mikachu@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).