From 4caa29cfb061d1df795228c6ea2e3eec5ff07439 Mon Sep 17 00:00:00 2001 From: TrudeEH Date: Tue, 18 Mar 2025 22:48:49 +0000 Subject: [PATCH] Add Git configuration for Trude --- install.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index e696440b..db1e91c4 100755 --- a/install.sh +++ b/install.sh @@ -140,8 +140,13 @@ else fi fi -# Clone password-store +# Trude-only settings if [ "$USER" = "trude" ]; then + git config --global commit.gpgsign true + git config --global user.name "TrudeEH" + git config --global user.email "ehtrude@gmail.com" + + # Clone password-store if [ ! -f "$HOME/.ssh/id_ed25519" ] || [ ! -f "$HOME/.ssh/id_ed25519.pub" ]; then printf "${RED}ED25519 key not found. Please add your ED25519 key pair for password-store.${NC}\n" elif ! gpg --list-keys "ehtrude@gmail.com" >/dev/null 2>&1; then