dotfiles/pass/.config/sh/env.d/pass-xdg.sh
Marty Oehme cfe5bb563b
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.
2020-09-12 14:47:30 +02:00

5 lines
181 B
Bash

#!/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"