Closed SolitudeSF closed 1 year ago
@noahmayr what do you think of it as a potential solution for https://github.com/sayanarijit/xplr/issues/627?
It does seem to work (on MacOS), tested both with and without XDG_CONFIG_HOME. However I feel like using the xdg-rust crate you suggested in #627 might be better to avoid platform specific logic in xplr.
Does xdg-rust cover all usecases where dirs is used for right now?
Agree. Less platform specific code is preferable. Edit: But in this case, we might have to, so we don't break existing config.
Merged https://github.com/sayanarijit/xplr/pull/631 since as per the doc, it shouldn't break existing config. Will re-open this pr if it does.
Im not familiar with rust, so its just an attempt to improve the situation.