local/bin/homeinit: Set up the diff GPG filter in pass

master
Pierre Neidhardt 2018-07-12 12:02:07 +02:00
parent 090b88a3b9
commit f2215ad1f0
1 changed files with 2 additions and 0 deletions

View File

@ -54,6 +54,8 @@ if [ -d ~/.gnupg ]; then
git -C ~/.password-store pull
else
git clone git@gitlab.com:Ambrevar/password-store ~/.password-store
## The following is necessary to make sure the 'diff' GPG filter is properly set up.
pass git init
fi
else
echo "~/.gnupg not found."