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)