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 \