#3 Remove duplicate keypair setup block

This commit is contained in:
Joey Hafner 2024-08-16 14:34:22 -07:00
parent dff6d688be
commit ba933c9533
No known key found for this signature in database

View File

@ -21,15 +21,3 @@ fi
git config --local filter.sops.smudge $AGE_DIR/decrypt-filter.sh
git config --local filter.sops.clean $AGE_DIR/encrypt-filter.sh
git config --local filter.sops.required true
# Set up age keypair
if [[ -f $HOME/.age/key ]]; then
if ! cat ~/.bashrc | grep -q "export SOPS_AGE_KEY_FILE"; then
echo "Add this line to your shell profile (e.g. ~/.bashrc or ~/.zshrc):"
echo "export SOPS_AGE_KEY_FILE=$HOME/.age/key"
else
echo "SOPS_AGE_KEY_FILE: $SOPS_AGE_KEY_FILE"
fi
else
echo "No age key file. Generate one."
fi