aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/sh/.config/profile.d
diff options
context:
space:
mode:
authorToby Vincent <tobyv@tobyvin.dev>2023-09-04 13:48:01 -0500
committerToby Vincent <tobyv@tobyvin.dev>2023-09-04 13:48:01 -0500
commitda9047836a7fb5097f39c4742b294b9e596da490 (patch)
tree9b785324183e98085753316b0e3cbd8a123f7252 /sh/.config/profile.d
parent99043d2e2183048a16ac4be4beddefc432332576 (diff)
feat(sh): add env var to make opam follow xdg base
Diffstat (limited to 'sh/.config/profile.d')
-rw-r--r--sh/.config/profile.d/20-opam.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/sh/.config/profile.d/20-opam.sh b/sh/.config/profile.d/20-opam.sh
new file mode 100644
index 0000000..5c4fa08
--- /dev/null
+++ b/sh/.config/profile.d/20-opam.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+export OPAMROOT="$XDG_DATA_HOME/opam"
+
+append_path "$GOPATH/bin"
+
+export PATH