From 4b2bf1f6043ee69f4cdc9731668a8cae0bb17eb8 Mon Sep 17 00:00:00 2001 From: Tyrel Souza Date: Mon, 21 Nov 2016 10:55:16 -0500 Subject: [PATCH] better logic, idiot --- zshrc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/zshrc b/zshrc index b120c53..f26a96d 100644 --- a/zshrc +++ b/zshrc @@ -30,14 +30,13 @@ export PATH="$NPM_PACKAGES/bin:$GOPATH/bin:$HOME/bin:$PATH" -# -if [ -e ~/.ssh/id_rsa ];then - ssh-add ~/.ssh/id_addgene -fi # if [ -z "$SSH_AUTH_SOCK" ] ; then eval `ssh-agent -s` ssh-add ~/.ssh/id_rsa +fi +# +if [ -e ~/.ssh/id_addgene ];then ssh-add ~/.ssh/id_addgene fi