gau/git,gpg

This commit is contained in:
Marc Beninca 2024-12-01 18:06:02 +01:00
parent 01eb1bebd3
commit c69c10684e
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F
2 changed files with 7 additions and 8 deletions

View file

@ -371,11 +371,12 @@ a__git_merge_tool() {
# push to the remote repository
gp() { a__git_push "${@}"; }
a__git_push() {
git \
push \
--tags \
--verbose \
"${@}"
rwx_gpg_agent_update &&
git \
push \
--tags \
--verbose \
"${@}"
}
# delete from the remote repository

View file

@ -8,7 +8,5 @@ a__gpg_agent_kill() {
# bind gpg agent to current tty
gau() { a__gpg_agent_update "${@}"; }
a__gpg_agent_update() {
gpg-connect-agent \
updatestartuptty \
/bye
rwx_gpg_agent_update
}