pwmt / zathura

Document viewer
https://pwmt.org/projects/zathura
zlib License
1.86k stars 127 forks source link

The autocomplete for `open` excludes nothing but pdf's #439

Closed sebastinas closed 2 months ago

sebastinas commented 6 months ago

On GitLab by @Beanie on Dec 27, 2023, 16:58


Tested on a clean build.

When tab is pressed after open, all directories and files are listed. However, if the contents of a file starts with %PDF-, it will be excluded.

To reproduce:

  1. cd
  2. echo "%PDF-" > foo
  3. zathura
  4. :open and press tab
  5. foo will be excluded

If the first 5 characters of the contents of foo are changed in any way, the autocomplete will list it again.

sebastinas commented 6 months ago

This was fixed in d74091a7.