This commit is contained in:
Marc Beninca 2024-11-17 17:18:36 +01:00
parent 18e2154931
commit 7363e51f4e
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -1,11 +1,13 @@
# turn gpg agent off
gak() {
gak() { gpg_agent_kill "${@}"; }
gpg_agent_kill() {
gpgconf \
--kill "gpg-agent"
}
# bind gpg agent to current tty
gau() {
gau() { gpg_agent_update "${@}"; }
gpg_agent_update() {
gpg-connect-agent \
updatestartuptty \
/bye