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 common XDG-paths #85

Closed
eval opened this issue Jan 26, 2023 · 1 comment
Closed

Add common XDG-paths #85

eval opened this issue Jan 26, 2023 · 1 comment

Comments

@eval
Copy link
Contributor

eval commented Jan 26, 2023

The XDG spec defines various base paths to look for config/data/cache files.
Having written some scripts with this logic, I thought it might be convenient to have this in babashka/fs.

Looking at what paths are commonly used, it seems adding the following fns would suffice:

  • xdg-config-home
  • xdg-cache-home
  • xdg-data-home
  • xdg-state-home
@borkdude
Copy link
Contributor

Sounds good to me, PR welcome!

@eval eval mentioned this issue Jan 28, 2023
3 tasks
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