Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Solution: Bu report - unix/_gpg completion broken
- X-seq: zsh-workers 46034
- From: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- To: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- Subject: Re: Solution: Bu report - unix/_gpg completion broken
- Date: Wed, 10 Jun 2020 01:07:13 +0200
- Cc: "O. simplex" <ordinatio.simplex@xxxxxxxxxxxxx>, "zsh-workers@xxxxxxx" <zsh-workers@xxxxxxx>
- In-reply-to: <20200606081909.33d488c5@tarpaulin.shahaf.local2>
- 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> <M7YSmAUEta0Gj8cEz4B9Gn5KKAunBIeatP3PsxZ68C1YOpcag2nmBp-uirDw9qmL9UZ90zKlkVMJ8FmGFrLmbl3R40U4r-wT5ktHeAwIZrg=@protonmail.ch> <20200606081909.33d488c5@tarpaulin.shahaf.local2>
On 6 Jun, Daniel Shahaf wrote:
> --- a/Completion/compinit
> @@ -159,6 +159,7 @@ _comp_options=(
> + NO_shfileexpansion
Stuffing extra options into _comp_options is usually a bad idea because
it prevents the completion system from honouring the user's preferences.
In this case _expand will no longer handle the correct precedence of ~
and brace expansion.
It looks to me like the shfileexpansion option has got broken more
fundamentally at some point. Swap the = and : in the character
class in the pattern on the line that produces an error and the error
goes away. _complete_debug also appears to be broken with
shfileexpansion:
setopt shfileexpansion; : =(echo hi)
I've not bisected fully but I did check a very old zsh and it worked
fine with that.
Oliver
Messages sorted by:
Reverse Date,
Date,
Thread,
Author