This removes the requirement for an absolute path for those cases, but note that the expansions are hard-coded and only ~ and $HOME are currently supported. If people need any other variables, feel free to make a PR or just lmk. More importantly, if someone knows a better way to do this, please do share as I don't spend all that much time working on Yazi plugins or with Lua in general.
This removes the requirement for an absolute path for those cases, but note that the expansions are hard-coded and only
~
and$HOME
are currently supported. If people need any other variables, feel free to make a PR or just lmk. More importantly, if someone knows a better way to do this, please do share as I don't spend all that much time working onYazi
plugins or with Lua in general.