Fix pass script

This commit is contained in:
2024-04-14 00:27:14 +02:00
parent 96fe4d9ec4
commit db1dddf2ff
2 changed files with 14 additions and 25 deletions

14
bin/pass Executable file
View File

@@ -0,0 +1,14 @@
#!/usr/bin/env bash
set -o nounset
set -o errexit
if [[ ! -e ~/.password-store ]] ; 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
printf '%s\n' 'Done'
fi
command -p pass "${@}"