From e4ca9d8ae3275f07f33a139298f270cba97fd7f9 Mon Sep 17 00:00:00 2001 From: Oliver Freyermuth Date: Tue, 25 Sep 2018 20:32:56 +0000 Subject: 43544: Fix zathura filename completion derived from *.so plugin name. --- Completion/X/Command/_zathura | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Completion') diff --git a/Completion/X/Command/_zathura b/Completion/X/Command/_zathura index 141cadf63..64888d013 100644 --- a/Completion/X/Command/_zathura +++ 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:t:r}" fi done _files -g "*.(${(j.|.)supported_filetypes})(-.)" -- cgit 1.4.1