Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Solution: Bu report - unix/_gpg completion broken
- X-seq: zsh-workers 45829
- From: "O. simplex" <ordinatio.simplex@xxxxxxxxxxxxx>
- To: "zsh-workers@xxxxxxx" <zsh-workers@xxxxxxx>
- Subject: Solution: Bu report - unix/_gpg completion broken
- Date: Fri, 15 May 2020 05:21:52 +0000
- In-reply-to: <y4afldJoSwA-2f_A41orqMuqL0PBuCH-bNNmILkCJiCULsMaJLUaE3b6Wnik_-NsmQ4Mt-RplAmjIhnzlOdwTA0yOvz8FtBd2l-Hj3bdYKs=@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>
- Reply-to: "O. simplex" <ordinatio.simplex@xxxxxxxxxxxxx>
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