aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--sh/.config/environment.d/50-openssl.conf1
-rw-r--r--sh/.config/environment.d/50-password-store.conf2
-rw-r--r--sh/.config/environment.d/50-w3m.conf1
-rw-r--r--sh/.config/profile.d/20-pass.sh4
-rw-r--r--sh/.config/profile.d/50-opam.sh (renamed from sh/.config/profile.d/20-opam.sh)0
-rw-r--r--zsh/.config/zsh/.zshrc.d/50-opam.zsh5
6 files changed, 9 insertions, 4 deletions
diff --git a/sh/.config/environment.d/50-openssl.conf b/sh/.config/environment.d/50-openssl.conf
new file mode 100644
index 0000000..b53eaf7
--- /dev/null
+++ b/sh/.config/environment.d/50-openssl.conf
@@ -0,0 +1 @@
+RANDFILE=$XDG_DATA_HOME/openssl/rnd
diff --git a/sh/.config/environment.d/50-password-store.conf b/sh/.config/environment.d/50-password-store.conf
new file mode 100644
index 0000000..82a9c1e
--- /dev/null
+++ b/sh/.config/environment.d/50-password-store.conf
@@ -0,0 +1,2 @@
+PASSWORD_STORE_DIR=$XDG_DATA_HOME/pass
+PASSWORD_STORE_ENABLE_EXTENSIONS=true
diff --git a/sh/.config/environment.d/50-w3m.conf b/sh/.config/environment.d/50-w3m.conf
new file mode 100644
index 0000000..d437ce0
--- /dev/null
+++ b/sh/.config/environment.d/50-w3m.conf
@@ -0,0 +1 @@
+W3M_DIR=$XDG_DATA_HOME/w3m
diff --git a/sh/.config/profile.d/20-pass.sh b/sh/.config/profile.d/20-pass.sh
deleted file mode 100644
index 0e8794e..0000000
--- a/sh/.config/profile.d/20-pass.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-
-export PASSWORD_STORE_DIR="$HOME/.password-store"
-export PASSWORD_STORE_ENABLE_EXTENSIONS=true
diff --git a/sh/.config/profile.d/20-opam.sh b/sh/.config/profile.d/50-opam.sh
index 5c4fa08..5c4fa08 100644
--- a/sh/.config/profile.d/20-opam.sh
+++ b/sh/.config/profile.d/50-opam.sh
diff --git a/zsh/.config/zsh/.zshrc.d/50-opam.zsh b/zsh/.config/zsh/.zshrc.d/50-opam.zsh
new file mode 100644
index 0000000..e19cc8c
--- /dev/null
+++ b/zsh/.config/zsh/.zshrc.d/50-opam.zsh
@@ -0,0 +1,5 @@
+#!/bin/zsh
+
+if [ -r $XDG_DATA_HOME/opam/opam-init/init.zsh ]; then
+ source $XDG_DATA_HOME/opam/opam-init/init.zsh
+fi