Use gpg-agent directly

This commit is contained in:
2017-08-05 18:55:01 +02:00
parent e9342188c1
commit b8120f9063

View File

@@ -36,7 +36,7 @@ export LC_COLLATE=C
# Start the gpg-agent if not already running
if ! pgrep -x --uid "${USER}" gpg-agent >/dev/null 2>&1; then
gpg-connect-agent /bye >/dev/null 2>&1
eval $(gpg-agent --daemon --sh)
fi
# Set SSH to use gpg-agent