summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-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
|-----------------------|
2012-09-18Quote the program name.Jason A. Donenfeld1-4/+4 2012-09-17Abstract potentially platform specific commands into their own commands.Jason A. Donenfeld4-72/+97 2012-09-16Support recursive and forced removal.Jason A. Donenfeld2-12/+28 2012-09-16Small stylistic things.Jason A. Donenfeld1-9/+9 2012-09-15Use --force flag in keepassx import.Jason A. Donenfeld1-1/+1