diff --git a/zshrc b/zshrc index 8e8c0e3..9fed757 100644 --- a/zshrc +++ b/zshrc @@ -36,6 +36,10 @@ COMPLETION_WAITING_DOTS="true" # much faster. # DISABLE_UNTRACKED_FILES_DIRTY="true" +if [[ -e "${XDG_RUNTIME_DIR}/ssh-agent.socket" ]]; then + export SSH_AUTH_SOCK="${XDG_RUNTIME_DIR}/ssh-agent.socket" +fi + path=( $HOME/.rbenv/shims $HOME/.pyenv/shims