aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/sh
diff options
context:
space:
mode:
authorToby Vincent <tobyv@tobyvin.dev>2024-02-28 00:17:22 -0600
committerToby Vincent <tobyv@tobyvin.dev>2024-02-28 00:17:22 -0600
commit038a7a6442c968321e5e1362c41727977369ed15 (patch)
treefae09425717ccf95073cc3db0ef9680773402ecb /sh
parent2ebf615af2dbe312c304e37e76f7c4e12684d723 (diff)
feat: add ollama xdg compliant
Diffstat (limited to 'sh')
-rw-r--r--sh/.config/profile.d/50-ollama.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/sh/.config/profile.d/50-ollama.sh b/sh/.config/profile.d/50-ollama.sh
new file mode 100644
index 0000000..1f0cdc3
--- /dev/null
+++ b/sh/.config/profile.d/50-ollama.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+export OLLAMA_MODELS="$XDG_DATA_HOME"/ollama/models