Make .ssh-find-agent an optional dependency

This commit is contained in:
Marty Oehme 2019-02-04 17:35:36 +01:00
parent 7c438bb829
commit 1080894466

6
.zshrc
View file

@ -249,8 +249,10 @@ _check-for-zsh-quickstart-update() {
BROWSER=/usr/bin/chromium BROWSER=/usr/bin/chromium
EDITOR=/usr/bin/micro EDITOR=/usr/bin/micro
. ~/.ssh/.ssh-find-agent.sh if [[ -f ~/.ssh/.ssh-find-agent.sh ]]
ssh-find-agent -a . ~/.ssh/.ssh-find-agent.sh
ssh-find-agent -a
fi
if [ -z "$SSH_AUTH_SOCK" ] if [ -z "$SSH_AUTH_SOCK" ]
then then
eval $(ssh-agent) > /dev/null eval $(ssh-agent) > /dev/null