zsh-workers
 help / color / Atom feed
* Bu report - unix/_gpg completion broken
@ 2019-12-01  1:42 O. simplex
  2020-05-15  5:21 ` Solution: " O. simplex
  0 siblings, 1 reply; 3+ messages in thread
From: O. simplex @ 2019-12-01  1:42 UTC (permalink / raw)
  To: zsh-workers


[-- Attachment #1: Type: text/plain, Size: 289 bytes --]

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Solution: Bu report - unix/_gpg completion broken
  2019-12-01  1:42 Bu report - unix/_gpg completion broken O. simplex
@ 2020-05-15  5:21 ` O. simplex
  2020-05-15  8:53   ` Daniel Shahaf
  0 siblings, 1 reply; 3+ messages in thread
From: O. simplex @ 2020-05-15  5:21 UTC (permalink / raw)
  To: zsh-workers


[-- Attachment #1: Type: text/plain, Size: 803 bytes --]

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@protonmail.ch> 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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Solution: Bu report - unix/_gpg completion broken
  2020-05-15  5:21 ` Solution: " O. simplex
@ 2020-05-15  8:53   ` Daniel Shahaf
  0 siblings, 0 replies; 3+ messages in thread
From: Daniel Shahaf @ 2020-05-15  8:53 UTC (permalink / raw)
  To: O. simplex; +Cc: zsh-workers

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@protonmail.ch> 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  


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, back to index

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-01  1:42 Bu report - unix/_gpg completion broken O. simplex
2020-05-15  5:21 ` Solution: " O. simplex
2020-05-15  8:53   ` Daniel Shahaf

zsh-workers

Archives are clonable: git clone --mirror http://inbox.vuxu.org/zsh-workers

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.zsh.workers


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git