Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: "rpmbuild -tb [tab]" or "rpmbuild -ta [tab]" get stuck / do not complete even if there are tarballs in ./*



Hi Daniel!

Thanks for the quick response.

On Tue, Aug 18, 2020 at 4:46 PM Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx> wrote:
Shlomi Fish wrote on Tue, 18 Aug 2020 16:12 +0300:
> sorry for the late reply.
>

No worries; it was timely.

> On Sun, Aug 16, 2020 at 5:09 PM Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
> wrote:
>
> > [[[
> > diff --git a/Completion/Redhat/Command/_rpm
> > b/Completion/Redhat/Command/_rpm
> > index e3469245f..85292fa78 100644
> > --- a/Completion/Redhat/Command/_rpm
> > +++ b/Completion/Redhat/Command/_rpm
> > @@ -282,7 +282,7 @@ _rpm () {
> >      build_r) tmp=( '*:source package:_files -g "*.(#i)src.rpm(-.)"' ) ;|
> >      build_t) tmp=( '*:tar file:_files -g "*.(#i)tar(.*|)(-.)"' ) ;|
> >      build_?)
> > -      _arguments -s -C $buildopts $commonopts $pathopts \
> > +      _arguments -s -C $buildopts $commonopts $pathopts "${tmp[@]}" \
> >        ;;
> >      checksig)
> >        _arguments -s -C \!-K \
> > ]]]
> >
> > 
> I applied the patch to "fedpkg clone --anonymous zsh" and rebuilt, and it
> seems to have fixed the issue. Thanks!
>

You're welcome.  Pushed.

The regression seems to have been introduced by the previous commit
(44788, aka zsh-5.7.1-135-g2c0387305).  I didn't review that commit for
additional instances of this issue.

Thanks!


Cheers,

Daniel


--
Shlomi Fish https://www.shlomifish.org/

Buddha has the Chuck Norris nature.

Please reply to list if it's a mailing list post - http://shlom.in/reply .


Messages sorted by: Reverse Date, Date, Thread, Author