From b8120f9063cf04e281491616df5b94493a7530f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hannes=20K=C3=B6rber?= Date: Sat, 5 Aug 2017 18:55:01 +0200 Subject: [PATCH] Use gpg-agent directly --- zsh/zprofile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zsh/zprofile b/zsh/zprofile index f6dcd47..96e4dab 100644 --- a/zsh/zprofile +++ b/zsh/zprofile @@ -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