dotfiles icon indicating copy to clipboard operation
dotfiles copied to clipboard

manp cache dir

Open metbril opened this issue 3 years ago • 0 comments

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:

https://github.com/cowboy/dotfiles/blob/09aa03cab27cdd2496df4a550b32a33af0f9f832/bin/manp#L23

My improvement:

cache_dir=${XDG_CACHE_HOME:-$HOME/.cache}/$(basename "$0")

metbril avatar Apr 02 '21 06:04 metbril