diff --git a/.bashrc b/.bashrc index 3c77caa..3cc81f9 100644 --- a/.bashrc +++ b/.bashrc @@ -109,3 +109,9 @@ export JUPYTERLAB_DIR=$HOME/.local/share/jupyter/lab # Zettelkasten {{{ export ZK_PATH="$HOME/.zk" + +# SSH Agent {{{ +if [[ -z "${SSH_CONNECTION}" ]]; then + export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket" +fi +# }}}