summaryrefslogtreecommitdiff
path: root/secret/pass
blob: ae5f5769664e7e9a64419bc9f2fa3de8e16d8a1b (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

if ! command -v pass >/dev/null; then
  echo "The 'pass' command is missing: sudo apt install pass"
  exit 1
fi

export PASSWORD_STORE_DIR=$PWD
export PASSWORD_STORE_GPG_OPTS="--trust-model=always"

/usr/bin/pass "$@"