Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Force MacOS to behave like Linux #84

Closed
chaosteil opened this issue Jul 6, 2023 · 1 comment
Closed

Feature Request: Force MacOS to behave like Linux #84

chaosteil opened this issue Jul 6, 2023 · 1 comment

Comments

@chaosteil
Copy link

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.

@soc
Copy link
Collaborator

soc commented Jul 6, 2023

Hi Dominykas,
see #47 (comment) for my position on this.
Thanks!

@soc soc closed this as completed Jul 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants