diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2014-03-19 23:37:19 -0600 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2014-03-19 23:37:19 -0600 |
commit | 60e1fa752f218616e04648a21578fe346fe36a6d (patch) | |
tree | 3693eaffb78b4b484a20f2952026ac5401d37117 /src/password-store.sh | |
parent | dcb6d7e95db06343caa5ad3075734603d27769c3 (diff) | |
download | pass-60e1fa752f218616e04648a21578fe346fe36a6d.tar.gz pass-60e1fa752f218616e04648a21578fe346fe36a6d.tar.bz2 pass-60e1fa752f218616e04648a21578fe346fe36a6d.zip |
Simplify exports.
Diffstat (limited to 'src/password-store.sh')
-rwxr-xr-x | src/password-store.sh | 7 |
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 |-----------------------| |