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

[Linux] Cache files in $XDG_CACHE_HOME/tldr instead of ~/.tldr_cache #37

Closed
chocolateboy opened this issue Feb 25, 2017 · 0 comments
Closed

Comments

@chocolateboy
Copy link

According to the XDG Base Directory Specification, user-specific cached files files should be stored in $XDG_CACHE_HOME/tldr, or $HOME/.cache/tldr if $XDG_CACHE_HOME is not defined.

There is a single base directory relative to which user-specific non-essential (cached) data should be written. This directory is defined by the environment variable $XDG_CACHE_HOME.

This avoids cluttering the home directory and simplifies including/excluding related directories from bulk operations such as backups.

Links

Repos

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

1 participant