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
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue