From 60e1fa752f218616e04648a21578fe346fe36a6d Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Wed, 19 Mar 2014 23:37:19 -0600 Subject: Simplify exports. --- src/password-store.sh | 7 +++---- 1 file 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 |-----------------------| -- cgit v1.2.3