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

manp cache dir #85

Open
metbril opened this issue Apr 2, 2021 · 0 comments
Open

manp cache dir #85

metbril opened this issue Apr 2, 2021 · 0 comments

Comments

@metbril
Copy link

metbril commented Apr 2, 2021

FYI

I was playing around with your manp script and replace the cache_dir with something more generic after taking note of this page:

https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html

Your code:

cache_dir=$DOTFILES/caches/manpdf

My improvement:

cache_dir=${XDG_CACHE_HOME:-$HOME/.cache}/$(basename "$0")
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