termux: Git is a curse if 'eval $(ssh-agent -s)' isn't ran...

...before doing push using SSH.

Signed-off-by: Andrei Jiroh Eugenio Halili <andreijiroh@madebythepins.tk>
This commit is contained in:
Andrei Jiroh Eugenio Halili 2021-02-25 23:34:10 +08:00
parent e679a70003
commit e3afb463a2
Signed by: ajhalili2006
GPG Key ID: A30EBE40AD856D88
1 changed files with 3 additions and 1 deletions

View File

@ -11,7 +11,9 @@ if [ -f "${HOME}/.gpg-agent-info" ]; then
else
echo "Howdy, user ID ${EUID}. Shenanigans beget shenanigans."
# not needed this because we have .ssh/config
#eval $(ssh-agent -s)
# but keep this uncommented because Git is being
# an dougebag in every single shell sessiob.
eval $(ssh-agent -s)
fi
# Run this with add-ssh-keys instead