pwmt / zathura

Document viewer

Home Page:https://pwmt.org/projects/zathura

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

sebastinas opened this issue · comments

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


  • OS: Arch Linux
  • Shell: zsh
  • Zathura version: commit fbbfbbd

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.

This was fixed in d74091a.