zsh-workers
 help / color / mirror / code / Atom feed
From: Leah Neukirchen <leah@vuxu.org>
To: zsh-workers@zsh.org
Subject: Re: zathura conpletion for zsh broken
Date: Wed, 26 Sep 2018 23:08:45 +0200	[thread overview]
Message-ID: <87r2hg9db6.fsf@vuxu.org> (raw)
In-Reply-To: <75619dc0-7b02-45bd-7cd9-a5078d6829a5@googlemail.com> (Oliver Freyermuth's message of "Tue, 25 Sep 2018 22:02:12 +0200")

Oliver Freyermuth <o.freyermuth@googlemail.com> writes:

> 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(){
>>>      elif [[ $pf =~ "poppler" ]]; then
>>>        supported_filetypes+="pdf"
>>>      else
>>> -      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. 

Hm, on my system (Void Linux with zathura-pdf-mupdf 0.3.3 and meson
build) the files are called

/usr/lib/zathura/libdjvu.so
/usr/lib/zathura/libpdf-mupdf.so
/usr/lib/zathura/libps.so

So the lib-stripping seems to make sense?

-- 
Leah Neukirchen  <leah@vuxu.org>  http://leah.zone


  parent reply	other threads:[~2018-09-26 21:26 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-25 15:14 Oliver Freyermuth
2018-09-25 19:21 ` Daniel Shahaf
2018-09-25 20:02   ` Oliver Freyermuth
2018-09-25 20:36     ` Daniel Shahaf
2018-09-25 21:22       ` Oliver Freyermuth
2018-09-25 22:56         ` Daniel Shahaf
2018-09-26  2:22           ` Oliver Freyermuth
2018-09-26 21:08     ` Leah Neukirchen [this message]
2018-09-27 18:20       ` Daniel Shahaf
2018-09-27 18:31         ` Bart Schaefer
2018-09-27 19:16           ` Daniel Shahaf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r2hg9db6.fsf@vuxu.org \
    --to=leah@vuxu.org \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).