pass: use standard paths
This commit is contained in:
parent
90c512cf84
commit
930949b4ac
4
.envrc
4
.envrc
@ -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
|
|
||||||
|
@ -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 -- "$@"
|
|
Loading…
Reference in New Issue
Block a user