#3 Remove duplicate keypair setup block
This commit is contained in:
parent
dff6d688be
commit
ba933c9533
@ -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
|
Loading…
Reference in New Issue
Block a user