From 8493916ff879e7cda9c3752c96a36688d377b16f Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Wed, 15 Mar 2023 15:16:38 -0500 Subject: [PATCH] fix: use proper XDG directory as default cache --- src/viv/viv.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/viv/viv.py b/src/viv/viv.py index d4be726..5d40735 100755 --- a/src/viv/viv.py +++ b/src/viv/viv.py @@ -30,7 +30,7 @@ from pathlib import Path from textwrap import dedent, wrap from typing import Dict, List, Tuple -__version__ = "22.12a3-34-g1e74ebf-dev" +__version__ = "22.12a3-35-g0d0c66d-dev" @dataclass @@ -38,9 +38,7 @@ class Config: """viv config manager""" venvcache: Path = ( - Path(os.getenv("XDG_CACHE_HOME", Path.home() / ".local" / "cache")) - / "viv" - / "venvs" + Path(os.getenv("XDG_CACHE_HOME", Path.home() / ".cache")) / "viv" / "venvs" ) def __post_init__(self):