Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zathura conpletion for zsh broken
- X-seq: zsh-workers 43553
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: Oliver Freyermuth <o.freyermuth@xxxxxxxxxxxxxx>
- Subject: Re: zathura conpletion for zsh broken
- Date: Tue, 25 Sep 2018 20:36:27 +0000
- Cc: zsh-workers@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= daniel.shahaf.name; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=wCH1Jp Bct2y8yWGkpbDdpTy+LNRFfYKeZ8uIDW7G418=; b=GJqrGKZ/kXwaQQ5lKGqpfE uOFeLlEvzA4PIYhylMgyXh6Fj8K46RG+SbsliH+xlTkuz0pzH71R7G/+OcpcQidh bHJW1g3KqNGr1o5EQnJi63e+36p88InXvzxxP+fCI97W6060CU/jwk14tPehdVLD xqDtJK9WANK4UrGX8IeucVAwORcKHATnaQBlFhk+gOyp+HlDEtNSkByIcaY73GB8 /0wRrB+xtDqqmTMMyhI2tpm7A4P0+y6xZi0HCw1uOvywWORVyWT/roIkIkv/PDq+ bWfjgabTngd+rxRClpq1n5EhW5aJSUGk25qFPLIi81aqRLaA2ZXnyMdqFSDom/Uw ==
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=wCH1Jp Bct2y8yWGkpbDdpTy+LNRFfYKeZ8uIDW7G418=; b=ehKqy8Tp5f2ypkINKN1TIq 7NzmX7zZwOxVsYeVor2u5H+OlB0FSo40OZAZQ4YmFkPCb7jH4WSm201mKYs7KmTr uOmJu+NRTz3Om9q3/iLDjkkQJ60L7qAmVGVy1kIHS2VSaukHjDs0ngqKoqTFS7o5 iX2pHOlYveFhsGvFKSTcYFY990/k50Zky96OIxx8HJ7ISIOU5Wd3mC7emjU5ZBbp kgSXsd3ZBOFSIGl8iZ/ZNwV+q+Ul0QsRhvbGMCK+v/zOf3fVOv0B8nMWMhnfT3Tk 8WivL8KiGzT+FPFktbDOLliehx44TwvyLq1xJb3tFooFo/hJdVVl1j9Ro6wwCArg ==
- In-reply-to: <75619dc0-7b02-45bd-7cd9-a5078d6829a5@googlemail.com>
- 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: <057ea9a2-d934-59e6-3109-e5093f0f9878@googlemail.com> <20180925192153.uwitfgrd2yydxtah@tarpaulin.shahaf.local2> <75619dc0-7b02-45bd-7cd9-a5078d6829a5@googlemail.com>
Oliver Freyermuth wrote on Tue, 25 Sep 2018 22:02 +0200:
> Am 25.09.18 um 21:21 schrieb Daniel Shahaf:
> > Oliver Freyermuth wrote on Tue, Sep 25, 2018 at 17:14:04 +0200:
> >> +++ b/Completion/X/Command/_zathura
> >> @@ -25,7 +25,7 @@ _zathura_files(){
> >> - supported_filetypes+="${${pf%.so}#${plugins_dir}/lib}"
> >> + supported_filetypes+="${${pf%.so}#${plugins_dir}/}"
> >
> > Isn't this equivalent to «supported_filetypes+=${pf:t:r}»?
>
> Indeed, it is, and that would be much easier.
Pushed. I changed the log message to avoid mentioning implementation
terms (the variable's name) in ChangeLog, which is user-facing.
> > The 'break' on line 12 looks odd. Does zathura really ignore
> > /usr/lib/zathura/foo.so if /usr/local/lib/zathura/bar.so exists and
> > /usr/local/lib/zathura/foo.so does not?
>
> You are correct in spotting this, if I read the zathura code correctly
> (not a girara expert...), it "does the right thing" and searches the
> full list of paths.
>
> I'll try to cook up a patch fixing both those issues. Might take a
> while though, since I'm just starting with this (basically I started
> to investigate after "zathura <tab>" stopped doing anything after a
> zsh upgrade, makinɡ usage rather cumbersome).
Thanks for the patch and looking into the additional issue.
Cheers,
Daniel
P.S. Our of curiosity, what's that U+0261 LATIN SMALL LETTER SCRIPT G doing there?
> Thanks for the pointers!
> Oliver
Messages sorted by:
Reverse Date,
Date,
Thread,
Author