From 3b2a984fb0b91cf5d03a2285f4a276d1195f02ee Mon Sep 17 00:00:00 2001 From: David Adam Date: Fri, 17 Apr 2015 11:10:47 +0800 Subject: [PATCH] uccpass: use local version of PATH and pass GPG_OPTS to use trust-model=always --- uccpass | 3 +++ 1 file changed, 3 insertions(+) diff --git a/uccpass b/uccpass index fc83554..7f7bb9d 100755 --- a/uccpass +++ b/uccpass @@ -41,6 +41,9 @@ init () { export GIT_AUTHOR_NAME="`getent passwd $USER | cut -d: -f5`" export GPG_TTY=`tty` + export PASSWORD_STORE_GPG_OPTS="--trust-model always" + + export PATH=$UCCPASS_ROOT/pass/bin:$PATH if [ -n "$UCCPASS_DEBUG" ]; then set -x; fi } -- 2.20.1