gau/git,gpg
This commit is contained in:
parent
01eb1bebd3
commit
c69c10684e
2 changed files with 7 additions and 8 deletions
|
@ -371,6 +371,7 @@ a__git_merge_tool() {
|
||||||
# push to the remote repository
|
# push to the remote repository
|
||||||
gp() { a__git_push "${@}"; }
|
gp() { a__git_push "${@}"; }
|
||||||
a__git_push() {
|
a__git_push() {
|
||||||
|
rwx_gpg_agent_update &&
|
||||||
git \
|
git \
|
||||||
push \
|
push \
|
||||||
--tags \
|
--tags \
|
||||||
|
|
|
@ -8,7 +8,5 @@ a__gpg_agent_kill() {
|
||||||
# bind gpg agent to current tty
|
# bind gpg agent to current tty
|
||||||
gau() { a__gpg_agent_update "${@}"; }
|
gau() { a__gpg_agent_update "${@}"; }
|
||||||
a__gpg_agent_update() {
|
a__gpg_agent_update() {
|
||||||
gpg-connect-agent \
|
rwx_gpg_agent_update
|
||||||
updatestartuptty \
|
|
||||||
/bye
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue