From 9a83206f3c84954efe219a2e64a09ad503e7da65 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Mon, 18 Nov 2024 12:03:15 +0100 Subject: [PATCH] gpg --- sh/gpg.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sh/gpg.sh b/sh/gpg.sh index e4ebb38..ffa4f63 100644 --- a/sh/gpg.sh +++ b/sh/gpg.sh @@ -1,19 +1,19 @@ # turn gpg agent off gak() { gpg_agent_kill "${@}"; } -gpg_agent_kill() { +sh_gpg_agent_kill() { gpgconf \ --kill "gpg-agent" } # bind gpg agent to current tty gau() { gpg_agent_update "${@}"; } -gpg_agent_update() { +sh_gpg_agent_update() { gpg-connect-agent \ updatestartuptty \ /bye } -gpg_ssh() { +sh_gpg_ssh() { local user_id user_id=$(id --user) if [ "${user_id}" -ne 0 ]; then @@ -24,4 +24,4 @@ gpg_ssh() { fi } -gpg_ssh +sh_gpg_ssh