Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Solution: Bu report - unix/_gpg completion broken
- X-seq: zsh-workers 45998
- From: "O. simplex" <ordinatio.simplex@xxxxxxxxxxxxx>
- To: "zsh-workers@xxxxxxx" <zsh-workers@xxxxxxx>
- Subject: Re: Solution: Bu report - unix/_gpg completion broken
- Date: Sat, 06 Jun 2020 06:38:21 +0000
- In-reply-to: <Ww4N4kk6TH_2Cp6_B0A709kTrD8LonXJPl6qmAAx75k0eQ7OczWUSwo7LCJOnXJm-nyuAVtdf8HOIGGb0krLeM0Z_fRWy723j1XTVA6vgek=@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> <20200515085324.63c6325f@tarpaulin.shahaf.local2> <Ww4N4kk6TH_2Cp6_B0A709kTrD8LonXJPl6qmAAx75k0eQ7OczWUSwo7LCJOnXJm-nyuAVtdf8HOIGGb0krLeM0Z_fRWy723j1XTVA6vgek=@protonmail.ch>
- Reply-to: "O. simplex" <ordinatio.simplex@xxxxxxxxxxxxx>
Sorry, there is some time since my report.
The error is caused because i set shfileexpansion.
Steps after run % zsh -f:
% autoload -U compinit
% compinit
% # if I try gpg aucompletion now, will work as expected
% # so you was right
% # now the detail in my personal config
% setopt shfileexpansion
% # if I try now, the error ( _gpg:176: \[]*} not found ) will appear
Since I removed the option shfileexpansion from my zshrc, and gpg completion worked as expected.
Ordinatio Simplex
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Friday, May 15, 2020 8:53 AM, Daniel Shahaf d.s@xxxxxxxxxxxxxxxxxx wrote:
> 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 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 Secure Email
</tab>/d.s@xxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author