From 01eb1bebd362e5356d37d5fbef93722e442357df Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 1 Dec 2024 18:04:13 +0100 Subject: [PATCH] rwx/gau --- sh/gpg.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sh/gpg.sh b/sh/gpg.sh index a2b7f50..b5ce07b 100644 --- a/sh/gpg.sh +++ b/sh/gpg.sh @@ -1,3 +1,10 @@ +# bind gpg agent to current tty +rwx_gpg_agent_update() { + gpg-connect-agent \ + updatestartuptty \ + /bye +} + rwx_gpg_ssh_auth_sock() { local user_id user_id=$(id --user)