You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a CLI app that uses the xdg crate. The current behavior of the crate is that even on OSX it returns Linux-like paths for the ones I care about, namely ~/.config/myapp. Now the crate itself doesn't support Windows (and will straight up refuse to compile on unixlikes), so I was looking for alternatives and found this crate.
My current issue is that I'm looking for something that can kind of bridge the gap with minimal intervention in the CLI code itself by allowing the behavior of Linux on OSX while retaining the behavior for Windows.
I know this doesn't quite meet the philosophy of the crate, but it would make eventual migration much easier. Additionally I'm quite sincere about my dotfiles, and I do like the simplicity of .config files even on OSX (easier to check into my dotfiles), and this would allow me to continue the behavior and have some parity between my terminal configs on my various machines.
Is forcing Linux behavior on OSX something that could be considered at all? I would be happy to implement it myself as well.
The text was updated successfully, but these errors were encountered:
I have a CLI app that uses the xdg crate. The current behavior of the crate is that even on OSX it returns Linux-like paths for the ones I care about, namely ~/.config/myapp. Now the crate itself doesn't support Windows (and will straight up refuse to compile on unixlikes), so I was looking for alternatives and found this crate.
My current issue is that I'm looking for something that can kind of bridge the gap with minimal intervention in the CLI code itself by allowing the behavior of Linux on OSX while retaining the behavior for Windows.
I know this doesn't quite meet the philosophy of the crate, but it would make eventual migration much easier. Additionally I'm quite sincere about my dotfiles, and I do like the simplicity of .config files even on OSX (easier to check into my dotfiles), and this would allow me to continue the behavior and have some parity between my terminal configs on my various machines.
Is forcing Linux behavior on OSX something that could be considered at all? I would be happy to implement it myself as well.
The text was updated successfully, but these errors were encountered: