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

Add xdg_*_directory functions #2439

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

uncenter
Copy link

Closes #2434. Adds a new set of functions like the existing directory functions, but prefixed with xdg_ and return true paths to XDG directories. Tried my best at updating the README as well.

@uncenter
Copy link
Author

I also don't want to bloat just, so we may want to look into using etcetera's choose_native_strategy to replicate dirs's functionality (if it does fully match as it does now for backwards compat) and remove dir entirely.

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

Successfully merging this pull request may close these issues.

XDG directory functions do not respect XDG variables on macOS
1 participant