1
0
Fork 0
mirror of https://github.com/hcartiaux/dotfiles.git synced 2024-10-18 09:15:24 +02:00

[bash] environment: use gpg_agent for ssh if possible

This commit is contained in:
Hyacinthe Cartiaux 2015-06-17 15:45:46 +02:00
parent 99d3d76456
commit 71a080f880

View file

@ -109,11 +109,17 @@ export GIT_COMMITTER_EMAIL=$GIT_AUTHOR_EMAIL
# MISC
# ----------------------------------------------------------------------
unset SSH_ASKPASS
# GPG config
export GNUPGHOME=~/.gnupg
# SSH config
unset SSH_ASKPASS
if [[ -e "${GNUPGHOME}/S.gpg-agent.ssh" ]] ; then
export SSH_AUTH_SOCK=$GNUPGHOME/S.gpg-agent.ssh
fi
# Easybuild BUILD PATH
export EASYBUILDBUILDPATH=/tmp/