pass: use standard paths

This commit is contained in:
Motiejus Jakštys 2023-01-11 05:38:02 +02:00
parent 90c512cf84
commit 930949b4ac
2 changed files with 1 additions and 12 deletions

4
.envrc
View File

@ -5,6 +5,4 @@ if [ "$(git config diff.gpg.textconv)" != "$_gpgconv" ]; then
git config diff.gpg.textconv "$_gpgconv" git config diff.gpg.textconv "$_gpgconv"
fi fi
export PASSWORD_STORE_DIR=$PWD/secrets export PASSWORD_STORE_DIR=$PWD
export REAL_PASS=$(which pass)
PATH_add tools

View File

@ -1,9 +0,0 @@
#!/bin/sh
# This hack allows passwords to be in a sub-directory "secrets", and
# still visible for git.
#
# This is not a good setup, because `pass git status` will show
# relative paths to `secrets/`. We need a better solution, but I
# don't know a good one yet.
grep -v "export GIT_CEILING_DIRECTORIES=" "$REAL_PASS" | bash -s -- "$@"