From cfe5bb563b458ad021537e6271e0f910ce5c4d81 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Fri, 11 Sep 2020 08:52:39 +0200 Subject: [PATCH] pass: Add config xdg specification loading Set environment variable for pass to respect for each shell environment, setting its pass store to the XDG_DATA_HOME directory. --- pass/.config/sh/env.d/pass-xdg.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 pass/.config/sh/env.d/pass-xdg.sh diff --git a/pass/.config/sh/env.d/pass-xdg.sh b/pass/.config/sh/env.d/pass-xdg.sh new file mode 100644 index 0000000..e9f38f6 --- /dev/null +++ b/pass/.config/sh/env.d/pass-xdg.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env sh +# Make pass comply with xdg base dir specification, +# usually password store will be found in ~/.local/share/pass + +export PASSWORD_STORE_DIR="$XDG_DATA_HOME/pass"