summaryrefslogtreecommitdiff
path: root/bin/menuscripts
diff options
context:
space:
mode:
Diffstat (limited to 'bin/menuscripts')
-rwxr-xr-xbin/menuscripts/mpassgen2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/menuscripts/mpassgen b/bin/menuscripts/mpassgen
index a60112b..7932992 100755
--- a/bin/menuscripts/mpassgen
+++ b/bin/menuscripts/mpassgen
@@ -34,7 +34,7 @@ test -z "${password}" && exit 1
if [ "${choice}" = "multiline" ]
then
- login="$(ls -1 ~/.password-store/e-mails |
+ login="$(ls -1 ${PASSWORD_STORE_DIR:=$HOME/.password-store}/e-mails |
sed 's/\.gpg$//' |
$menucmd)"
test -z "${login}" && exit 1