gau/git,gpg
This commit is contained in:
parent
01eb1bebd3
commit
c69c10684e
2 changed files with 7 additions and 8 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue