feat: use gpg-agent for ssh-agent

This commit is contained in:
Anthony Oteri
2025-09-18 07:56:33 -04:00
parent fd1c366381
commit dd087379d9
2 changed files with 10 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
# Start the gpg-agent if not already running
if ! pgrep -x -u "${USER}" gpg-agent >/dev/null 2>&1; then
gpg-connect-agent /bye >/dev/null 2>&1
fi
alias gpg-unlock "gpg-connect-agent updatestartuptty /bye"