gpg
This commit is contained in:
parent
18e2154931
commit
7363e51f4e
1 changed files with 4 additions and 2 deletions
|
@ -1,11 +1,13 @@
|
||||||
# turn gpg agent off
|
# turn gpg agent off
|
||||||
gak() {
|
gak() { gpg_agent_kill "${@}"; }
|
||||||
|
gpg_agent_kill() {
|
||||||
gpgconf \
|
gpgconf \
|
||||||
--kill "gpg-agent"
|
--kill "gpg-agent"
|
||||||
}
|
}
|
||||||
|
|
||||||
# bind gpg agent to current tty
|
# bind gpg agent to current tty
|
||||||
gau() {
|
gau() { gpg_agent_update "${@}"; }
|
||||||
|
gpg_agent_update() {
|
||||||
gpg-connect-agent \
|
gpg-connect-agent \
|
||||||
updatestartuptty \
|
updatestartuptty \
|
||||||
/bye
|
/bye
|
||||||
|
|
Loading…
Reference in a new issue