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)