m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/password-store.sh7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/password-store.sh b/src/password-store.sh
index dd491a5..9cfae7f 100755
--- a/src/password-store.sh
+++ b/src/password-store.sh
@@ -5,13 +5,12 @@
umask 077
-PREFIX="${PASSWORD_STORE_DIR:-$HOME/.password-store}"
-GIT_DIR="${PASSWORD_STORE_GIT:-$PREFIX}/.git"
GPG_OPTS="--quiet --yes --batch --compress-algo=none"
-
-export GIT_DIR
+PREFIX="${PASSWORD_STORE_DIR:-$HOME/.password-store}"
+export GIT_DIR="${PASSWORD_STORE_GIT:-$PREFIX}/.git"
export GIT_WORK_TREE="${PASSWORD_STORE_GIT:-$PREFIX}"
+
version() {
cat <<_EOF
|-----------------------|