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.
This commit is contained in:
Marty Oehme 2020-09-11 08:52:39 +02:00
parent 1310f6ded6
commit cfe5bb563b
Signed by: Marty
GPG Key ID: B7538B8F50A1C800
1 changed files with 5 additions and 0 deletions

View File

@ -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"