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

Use XDG_CONFIG_HOME on MacOS #9

Open
cideM opened this issue Feb 14, 2020 · 2 comments
Open

Use XDG_CONFIG_HOME on MacOS #9

cideM opened this issue Feb 14, 2020 · 2 comments

Comments

@cideM
Copy link

cideM commented Feb 14, 2020

I don't have data on this but I am pretty sure that most people place scripts in unix style directories rather than /Library. As such, quite a few people probably use XDG_CONFIG_HOME even on MacOS. Yet this library doesn't support that, which means every CLI app relying on this library also doesn't (jesseduffield/lazygit#641)

@wakatara
Copy link

wakatara commented May 16, 2020

Yeah, I am just looking at this library now and trying to figure out how to override that. I think there should be the option for override for OSX apps. Definitely CLI apps want to be going in the XDG_CONFIG_HOME.

Course, I was planning on trying to just override this with an if XDG || Darwin {config.XDG} type thingy. Still looking into how to easily do that, but yes, I agree with the override (or instructions on how we should be doing it "canonically" with the lib.

@raine
Copy link

raine commented Feb 14, 2022

/Library/Application Support doesn't appear standard at all for CLI tools.

I don't have a single CLI tool with configuration there.

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

3 participants