Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Solution: Bu report - unix/_gpg completion broken



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