This commit is contained in:
parent
1d6a7bab9b
commit
513d09f797
2 changed files with 10 additions and 12 deletions
|
@ -1,12 +0,0 @@
|
||||||
# turn gpg agent off
|
|
||||||
gak() { a__gpg_agent_kill "${@}"; }
|
|
||||||
a__gpg_agent_kill() {
|
|
||||||
gpgconf \
|
|
||||||
--kill "gpg-agent"
|
|
||||||
}
|
|
||||||
|
|
||||||
# bind gpg agent to current tty
|
|
||||||
gau() { a__gpg_agent_update "${@}"; }
|
|
||||||
a__gpg_agent_update() {
|
|
||||||
rwx_gpg_agent_update
|
|
||||||
}
|
|
10
sh/gpg.sh
10
sh/gpg.sh
|
@ -1,4 +1,14 @@
|
||||||
|
# functions to handle gpg
|
||||||
|
|
||||||
|
# turn gpg agent off
|
||||||
|
#= gak
|
||||||
|
rwx_gpg_agent_kill() {
|
||||||
|
gpgconf \
|
||||||
|
--kill "gpg-agent"
|
||||||
|
}
|
||||||
|
|
||||||
# bind gpg agent to current tty
|
# bind gpg agent to current tty
|
||||||
|
#= gau
|
||||||
rwx_gpg_agent_update() {
|
rwx_gpg_agent_update() {
|
||||||
gpg-connect-agent \
|
gpg-connect-agent \
|
||||||
updatestartuptty \
|
updatestartuptty \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue