Skip to content

Fix opening files not working

Christian requested to merge syphdias/ranger:fix-xdg-open into main

When ranger/rife wants to open a file with xdg-open it uses -- as separator. Unfortunately, this is not supported syntax and fails every time. This issue has been known since 2020 and was patched soon after. But since then there was never been a release of ranger.

This patch removes the two dashes in the rifle.conf by using sed in the prepare function.

Merge request reports