Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Respect $TMPDIR if it exists #1891

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

kidonng
Copy link
Contributor

@kidonng kidonng commented Aug 29, 2021

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

@mitchblank
Copy link

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

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

@cake03
Copy link
Contributor

cake03 commented Sep 3, 2021

$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

hykilpikonna added a commit to hykilpikonna/hyfetch that referenced this pull request Aug 11, 2022
Upstream PR: dylanaraps#1891
Thanks to @kidonng

Co-authored-by: Kid <44045911+kidonng@users.noreply.github.com>
@hykilpikonna
Copy link

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!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants