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