From 696f2846b96e824b5ed7fc4ade80273b73a5597d Mon Sep 17 00:00:00 2001 From: Dan Buch Date: Thu, 16 Jan 2020 19:56:48 -0500 Subject: [PATCH] Why Do I Fight With ssh-agent --- zshrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/zshrc b/zshrc index 2336c88..27c95be 100644 --- a/zshrc +++ b/zshrc @@ -147,6 +147,10 @@ function start-ssh-agent() { ssh-agent >~/.ssh/agent.out } +function setup-ssh-agent() { + start-ssh-agent && load-ssh-agent +} + function __maybesource() { if [[ -f "${1}" ]]; then if [[ "${2}" == silent ]]; then