diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Completion/X/Command/_zathura | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index b5c41edb5..36de34da3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2018-09-25 Oliver Freyermuth <o.freyermuth@googlemail.com> + + * 43544: Completion/X/Command/_zathura: Fix zathura filename + completion derived from *.so plugin name. + 2018-09-25 Daniel Shahaf <d.s@daniel.shahaf.name> * 43489: Src/exec.c: Add error checking on a new write() call. 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})(-.)" |