aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/sh/.config
diff options
context:
space:
mode:
authorToby Vincent <tobyv@tobyvin.dev>2023-11-14 16:50:09 -0600
committerToby Vincent <tobyv@tobyvin.dev>2023-11-14 16:51:04 -0600
commit5f1518f8bfbd95c7cd65d2b0dd33ec24518612a4 (patch)
tree93bb2449c6e6f4d88fca43add6db5aa84c7b5493 /sh/.config
parent7aa6e38fb8e0182a7764a1f280905f9f8723656f (diff)
fix(sh): add XDG Base Dir support for cuda
Diffstat (limited to 'sh/.config')
-rw-r--r--sh/.config/profile.d/50-cuda.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/sh/.config/profile.d/50-cuda.sh b/sh/.config/profile.d/50-cuda.sh
new file mode 100644
index 0000000..a4d8f68
--- /dev/null
+++ b/sh/.config/profile.d/50-cuda.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+export CUDA_CACHE_PATH="$XDG_CACHE_HOME/nv"