Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug report; git tab-completion on macOS within paths containing unicode characters
- X-seq: zsh-workers 52902
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: pu.y@xxxxxxxxxx
- Cc: zsh-workers@xxxxxxx
- Subject: Re: Bug report; git tab-completion on macOS within paths containing unicode characters
- Date: Sun, 28 Apr 2024 08:28:08 -0700
- Archived-at: <https://zsh.org/workers/52902>
- In-reply-to: <CAB+zqbqmturuSzuOPuHs91beERmu5XHp_Jm0E5mA2PBfib0b_g@mail.gmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <CAB+zqbrx+EsPSb-zMusCUN4Vp4E6e6rg=RG0pLjh4RdBt2ZS0A@mail.gmail.com> <CAH+w=7aumcauhMZWLAnT6mXVD_DE2bEdARE6fwAPORLAqWgKvQ@mail.gmail.com> <CAH+w=7aHgOJd=tAwfr7_FziNxeQC9dn_coioT0ndFBJhf68V3g@mail.gmail.com> <CAB+zqbqmturuSzuOPuHs91beERmu5XHp_Jm0E5mA2PBfib0b_g@mail.gmail.com>
On Sun, Apr 28, 2024 at 12:23 AM Yves Delley <pu.y@xxxxxxxxxx> wrote:
>
> [...] for me, `git ls-files` seems to work normally
Try it with
git ls-files $PWD
vs
git ls-files ${(qqqq)PWD}
I think the problem is that NFD form ends up having the first byte of
the second nybble misinterpreted, so the string gets truncated at that
point. That visibly happens in xterm (XQuartz) when I try to
copy-paste the pathname. The (qqqq) flag just quotes the entire
string differently to push that through to ls-files, which then
properly composes it.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author