Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Solution: Bu report - unix/_gpg completion broken
- X-seq: zsh-workers 45830
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: "O. simplex" <ordinatio.simplex@xxxxxxxxxxxxx>
- Subject: Re: Solution: Bu report - unix/_gpg completion broken
- Date: Fri, 15 May 2020 08:53:24 +0000
- Cc: "zsh-workers@xxxxxxx" <zsh-workers@xxxxxxx>
- In-reply-to: <XWTtnbNNmSf6ayC1Z_SII5UXqL0LrqoRShGLovWZDKg1StMWFkYX55t-fM1WgkdPzjwnncuT2uNhKTqSpLdJK6-tjpJlcwM8hIPgwZj3qzE=@protonmail.ch>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <y4afldJoSwA-2f_A41orqMuqL0PBuCH-bNNmILkCJiCULsMaJLUaE3b6Wnik_-NsmQ4Mt-RplAmjIhnzlOdwTA0yOvz8FtBd2l-Hj3bdYKs=@protonmail.ch> <XWTtnbNNmSf6ayC1Z_SII5UXqL0LrqoRShGLovWZDKg1StMWFkYX55t-fM1WgkdPzjwnncuT2uNhKTqSpLdJK6-tjpJlcwM8hIPgwZj3qzE=@protonmail.ch>
I can't reproduce the original problem with either 5.7.1 or master
(which isn't surprising, really — this functionality is too basic to
have been broken for 15 months with nobody noticing). Can you provide
a reproduction recipe starting with 'zsh -f'?
O. simplex wrote on Fri, 15 May 2020 05:21 +0000:
> Problematic line:
> extra=( ${${${args#\([^\)]#\)}#\*}%%[:=\[]*} )
>
> Working line:
> extra=( ${${${args#\([^\)]#\)}#\*}%%[:\[=]*} )
>
> The problem is the sequence of characters inside the bracket expression of last parameter expansion: [:=\[]
> Substitute this for: [:\[=]
>
> Ordinatio Simplex
>
> Sent with [ProtonMail](https://protonmail.com) Secure Email.
>
> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> On Sunday, December 1, 2019 1:42 AM, O. simplex <ordinatio.simplex@xxxxxxxxxxxxx> wrote:
>
> > Distro: Arch Linux
> > Version: zsh 5.7.1 (x86_64-pc-linux-gnu)
> >
> > Action: Type "gpg " then press <tab>
> > Actual behavior: termial output is: "_gpg:176: \[]*} not found"
> > Expected behavior: suggestions for gpg command
> >
> > Ordinatio Simplex
> >
> > Sent with [ProtonMail](https://protonmail.com) Secure Email
Messages sorted by:
Reverse Date,
Date,
Thread,
Author