From 10808944664c3e80229ee350528cfeb5b443d1ef Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Mon, 4 Feb 2019 17:35:36 +0100 Subject: [PATCH] Make .ssh-find-agent an optional dependency --- .zshrc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.zshrc b/.zshrc index 728ac93..dc75066 100644 --- a/.zshrc +++ b/.zshrc @@ -249,8 +249,10 @@ _check-for-zsh-quickstart-update() { BROWSER=/usr/bin/chromium EDITOR=/usr/bin/micro -. ~/.ssh/.ssh-find-agent.sh -ssh-find-agent -a +if [[ -f ~/.ssh/.ssh-find-agent.sh ]] + . ~/.ssh/.ssh-find-agent.sh + ssh-find-agent -a +fi if [ -z "$SSH_AUTH_SOCK" ] then eval $(ssh-agent) > /dev/null