Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zathura conpletion for zsh broken
- X-seq: zsh-workers 43551
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: Oliver Freyermuth <o.freyermuth@xxxxxxxxxxxxxx>
- Subject: Re: zathura conpletion for zsh broken
- Date: Tue, 25 Sep 2018 19:21:53 +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=fmIUeN z4+sB/uENGYbLu4JOtR/2+whvA8yw3g/8hQXc=; b=dSaW5zLBqJCS1PtPP8O+U3 PF3h7B/lkytd8hsmVeaoaaI0TXW7MK37JeMqguhQU/V56jKCxB0sXJv44HsObvEW LK95CfLaGK3VH9yl/rfX2StCxuxe3yv0XhqWTt12Ca8X/3CVrfCrRt90h4RaP0e5 2Ae9mA/dnWScYVzF0pIdrZF08GKVHhYW/Vb+PM2HJzvKPHveBwT1DLmGzQ+FO/gs CbIrcsWO3Di1cFCLDORhXYKe840V7cB+VUq7ZCfTjjTdGAcA4lFf6RcxxCx6a9op 85ECJjS566GgK3Iqjj0J7VBgOX6bXULUqQ57e2xNXfHJJVo487cnyunR40YGvOLw ==
- 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=fmIUeN z4+sB/uENGYbLu4JOtR/2+whvA8yw3g/8hQXc=; b=foUiWRIWq01PqyzT5Lm53P Mw1saMZDCKrJ3MHASNUbRX0FdJQM4zERPPpvgPsUQCD3hhjmUVfPPUNW1Nhn7s3k r9l5jv9HIpdkLw7mPlmCAIUHuBunnHUjymLwsA0k4LW/gOp48fFDAf1IPUv4dTDQ 8Jap7lLesIgfjt1I3Nq2SjRtFDA/AkNqV/tILqBBGHxgnPkHDGaMj1MILfXEUDNv g4fO4g0Jhcu8gzXRosoZ0nm1EqyX7BKMXppYAtVVO+RcvmV478rujT5o/3lU4DjP Gz92kwyOODi8ahzlbTB01nhruBhBMe2tFGTMU8jZBHLfbHAM2RDICzLS1E1VNatA ==
- In-reply-to: <057ea9a2-d934-59e6-3109-e5093f0f9878@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>
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}»?
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?
Thanks,
Daniel
Messages sorted by:
Reverse Date,
Date,
Thread,
Author