From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: zsh-workers-return-43569-ml=inbox.vuxu.org@zsh.org X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from primenet.com.au (ns1.primenet.com.au [203.24.36.2]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id 10447f74 for ; Wed, 26 Sep 2018 21:26:39 +0000 (UTC) Received: (qmail 19034 invoked by alias); 26 Sep 2018 21:26:22 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: List-Unsubscribe: X-Seq: 43569 Received: (qmail 25569 invoked by uid 1010); 26 Sep 2018 21:26:22 -0000 X-Qmail-Scanner-Diagnostics: from 195.159.176.226 by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(195.159.176.226):SA:0(-0.9/5.0):. Processed in 3.896469 secs); 26 Sep 2018 21:26:22 -0000 X-Envelope-From: gcszd-zsh-workers@m.gmane.org X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | X-Injected-Via-Gmane: http://gmane.org/ To: zsh-workers@zsh.org From: Leah Neukirchen Subject: Re: zathura conpletion for zsh broken Date: Wed, 26 Sep 2018 23:08:45 +0200 Message-ID: <87r2hg9db6.fsf@vuxu.org> References: <057ea9a2-d934-59e6-3109-e5093f0f9878@googlemail.com> <20180925192153.uwitfgrd2yydxtah@tarpaulin.shahaf.local2> <75619dc0-7b02-45bd-7cd9-a5078d6829a5@googlemail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@blaine.gmane.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) 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 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 http://leah.zone