Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Solution: Bu report - unix/_gpg completion broken
- X-seq: zsh-workers 46003
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: "O. simplex" <ordinatio.simplex@xxxxxxxxxxxxx>
- Subject: Re: Solution: Bu report - unix/_gpg completion broken
- Date: Sat, 6 Jun 2020 08:19:09 +0000
- Cc: "zsh-workers@xxxxxxx" <zsh-workers@xxxxxxx>
- In-reply-to: <M7YSmAUEta0Gj8cEz4B9Gn5KKAunBIeatP3PsxZ68C1YOpcag2nmBp-uirDw9qmL9UZ90zKlkVMJ8FmGFrLmbl3R40U4r-wT5ktHeAwIZrg=@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> <M7YSmAUEta0Gj8cEz4B9Gn5KKAunBIeatP3PsxZ68C1YOpcag2nmBp-uirDw9qmL9UZ90zKlkVMJ8FmGFrLmbl3R40U4r-wT5ktHeAwIZrg=@protonmail.ch>
O. simplex wrote on Sat, 06 Jun 2020 06:38 +0000:
> 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.
Thanks. This should fix it:
diff --git a/Completion/compinit b/Completion/compinit
index f0f8421df..f4ff270f7 100644
--- a/Completion/compinit
+++ b/Completion/compinit
@@ -159,6 +159,7 @@ _comp_options=(
NO_shglob
NO_warnnestedvar
NO_warncreateglobal
+ NO_shfileexpansion
)
# And this one should be `eval'ed at the beginning of every entry point
Messages sorted by:
Reverse Date,
Date,
Thread,
Author