From c08d4a8fb8d6fb186a77999f7a4cc96d02b95d8b Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 29 Sep 2024 13:54:57 +0200 Subject: [PATCH] caches --- re.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/re.sh b/re.sh index 695b2e7..31aa2fd 100755 --- a/re.sh +++ b/re.sh @@ -14,6 +14,16 @@ activate() { python3 --version pip --version } +caches() { + set \ + ".cache/pip" \ + ".cache/uv" \ + ".local/share/pip" \ + ".local/share/uv" + for cache in "${@}"; do + "${1}" "${cache}" + done +} deactivate() { echo echo "← ${VIRTUAL_ENV}"