dylanaraps/fff

Not able to set FFF_OPENER

pantherunteam opened this issue · 1 comments

I'm setting FFF_OPENER to xdg-open as below
export FFF_OPENER="xdg-open"

but when i ran fff and click on a tar file, it does not open in xdg-open

When i run xdg-open test.tar, it shows me the content of the tar, so i'm expecting the same when it is clicked from fff

fff treats xdg-open / FFF_OPENER like a gui program, and redirects it's output to /dev/null, therefore it doesn't give any output in terminal.

Otherwise xdg-open is already default for non-text files, even when FFF_OPENER is not set.