neofetch icon indicating copy to clipboard operation
neofetch copied to clipboard

Respect `$TMPDIR` if it exists

Open kidonng opened this issue 4 years ago • 3 comments

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

kidonng avatar Aug 29 '21 04:08 kidonng

Also /Library/Caches on macOS is intended for system/privileged programs

There is $HOME/Library/Caches as well though...

mitchblank avatar Sep 03 '21 16:09 mitchblank

$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

cake03 avatar Sep 03 '21 16:09 cake03

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!

hykilpikonna avatar Aug 11 '22 20:08 hykilpikonna