I have a script to fuzzy find pdf files and then display them with zathura and it works when run in the terminal however when i run it in dmenu sk doesnt seem to return anything.
Here is the script in question.
#!/usr/bin/env bash
cd ~
zathura $(sk -0 -e -f "$@ .pdf$" --reverse | head -n1)