Respect `$TMPDIR` if it exists
Description
Set cache_dir to $TMPDIR if it exists, this helps non-standard environment like Android (Termux and such). Also /Library/Caches on macOS is intended for system/privileged programs, /tmp on macOS is not standard etc.
Features
Issues
TODO
Also /Library/Caches on macOS is intended for system/privileged programs
There is $HOME/Library/Caches as well though...
$TMPDIR = /var/folders/qj/<random directory name>/T/
~/Library/Caches/ is different.
I'm not sure about which one should be included, or else both
Thank you for your contribution!
This PR is merged into hyfetch since this repo (dylanaraps/neofetch) seems no longer maintained.
HyFetch is a fork of neofetch with LGBTQ pride flags, but the repo also maintains an updated version of the original neofetch, addressing many pull requests that are not merged in the original repo.
Read the "Running Updated Original Neofetch" section for more info!