aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/python/.config/profile.d
diff options
context:
space:
mode:
authorToby Vincent <tobyv@tobyvin.dev>2023-11-07 12:25:25 -0600
committerToby Vincent <tobyv@tobyvin.dev>2023-11-07 12:40:40 -0600
commit6cd28a807f92a96508df32fcfef2e51ec47b4ce1 (patch)
treeb9a584a222890be9491dc852eb067f7cb001392f /python/.config/profile.d
parent08797f4958f5948348068f2c08765e70c6889147 (diff)
fix(python): fix XDG Base Directory compat for python
Diffstat (limited to 'python/.config/profile.d')
-rw-r--r--python/.config/profile.d/20-python.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/.config/profile.d/20-python.sh b/python/.config/profile.d/20-python.sh
index 65ea113..febd407 100644
--- a/python/.config/profile.d/20-python.sh
+++ b/python/.config/profile.d/20-python.sh
@@ -1,3 +1,5 @@
#!/bin/sh
export PYTHONSTARTUP="$XDG_CONFIG_HOME/python/startup.py"
+export PYTHONUSERBASE="$XDG_DATA_HOME/python"
+export PYTHONPYCACHEPREFIX="$XDG_CACHE_HOME/python"