Files
dotfiles/bin/pass
2024-04-14 01:33:43 +02:00

15 lines
326 B
Bash
Executable File

#!/usr/bin/env bash
set -o nounset
set -o errexit
if [[ ! -e "${PASSWORD_STORE_DIR}" ]] ; then
printf '%s\n' 'This is the first time running pass, initializting repository ...'
git clone ssh://git@code.hkoerber.de:2222/hannes/passwordstore.git "${PASSWORD_STORE_DIR}"
printf '%s\n' 'Done'
fi
command -p pass "${@}"