14 lines
247 B
Bash
14 lines
247 B
Bash
# turn gpg agent off
|
|
gak() { gpg_agent_kill "${@}"; }
|
|
gpg_agent_kill() {
|
|
gpgconf \
|
|
--kill "gpg-agent"
|
|
}
|
|
|
|
# bind gpg agent to current tty
|
|
gau() { gpg_agent_update "${@}"; }
|
|
gpg_agent_update() {
|
|
gpg-connect-agent \
|
|
updatestartuptty \
|
|
/bye
|
|
}
|