about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
Diffstat (limited to 'Completion')
-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})(-.)"