summary refs log tree commit diff
path: root/Completion/X
diff options
context:
space:
mode:
authorOliver Freyermuth <o.freyermuth@googlemail.com>2018-09-25 20:32:56 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2018-09-25 20:33:04 +0000
commite4ca9d8ae3275f07f33a139298f270cba97fd7f9 (patch)
tree8b1dff60d4a02ef817ebb5bc8b536beb9b709ac0 /Completion/X
parentdb67cc2f4b5b1282cb2be719ebb6bfd5a52f9169 (diff)
downloadzsh-e4ca9d8ae3275f07f33a139298f270cba97fd7f9.tar.gz
zsh-e4ca9d8ae3275f07f33a139298f270cba97fd7f9.tar.xz
zsh-e4ca9d8ae3275f07f33a139298f270cba97fd7f9.zip
43544: Fix zathura filename completion derived from *.so plugin name.
Diffstat (limited to 'Completion/X')
-rw-r--r--Completion/X/Command/_zathura2
1 files changed, 1 insertions, 1 deletions
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})(-.)"