From 4cf3083fd842b06a943ec28bd91b1561769267a6 Mon Sep 17 00:00:00 2001 From: binaryDiv Date: Wed, 6 Mar 2024 18:39:29 +0100 Subject: [PATCH] profile: Set SSH_AUTH_SOCK to gcr ssh agent --- .profile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.profile b/.profile index 2fe763f..2df3854 100644 --- a/.profile +++ b/.profile @@ -2,8 +2,8 @@ # ~/.profile -- Included by .bash_profile; includes ~/.profile.local # -# SSH key agent is started by systemd user -#export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.sock" +# SSH key agent +[[ -e "$XDG_RUNTIME_DIR/gcr/ssh" ]] && export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/gcr/ssh" # GPG key stuff export GPG_TTY=$(tty)