From 513d09f797a5767c19911bd192839d68b0b7f900 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 6 Jul 2025 15:32:43 +0200 Subject: [PATCH] gpg/gak,gau --- sh/alias/gpg.sh | 12 ------------ sh/gpg.sh | 10 ++++++++++ 2 files changed, 10 insertions(+), 12 deletions(-) delete mode 100644 sh/alias/gpg.sh diff --git a/sh/alias/gpg.sh b/sh/alias/gpg.sh deleted file mode 100644 index eb19651..0000000 --- a/sh/alias/gpg.sh +++ /dev/null @@ -1,12 +0,0 @@ -# turn gpg agent off -gak() { a__gpg_agent_kill "${@}"; } -a__gpg_agent_kill() { - gpgconf \ - --kill "gpg-agent" -} - -# bind gpg agent to current tty -gau() { a__gpg_agent_update "${@}"; } -a__gpg_agent_update() { - rwx_gpg_agent_update -} diff --git a/sh/gpg.sh b/sh/gpg.sh index b5ce07b..e1bf31c 100644 --- a/sh/gpg.sh +++ b/sh/gpg.sh @@ -1,4 +1,14 @@ +# functions to handle gpg + +# turn gpg agent off +#= gak +rwx_gpg_agent_kill() { + gpgconf \ + --kill "gpg-agent" +} + # bind gpg agent to current tty +#= gau rwx_gpg_agent_update() { gpg-connect-agent \ updatestartuptty \