m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2014-03-19 23:37:19 -0600
committerJason A. Donenfeld <Jason@zx2c4.com>2014-03-19 23:37:19 -0600
commit60e1fa752f218616e04648a21578fe346fe36a6d (patch)
tree3693eaffb78b4b484a20f2952026ac5401d37117 /src
parentdcb6d7e95db06343caa5ad3075734603d27769c3 (diff)
Simplify exports.
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
|-----------------------|