dotfiles
dotfiles copied to clipboard
manp cache dir
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")