This commit is contained in:
Marc Beninca 2024-11-19 14:42:11 +01:00
parent 14e9e52362
commit 8fae0bd63e
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F
30 changed files with 269 additions and 269 deletions

View file

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