better logic, idiot

This commit is contained in:
Tyrel Souza 2016-11-21 10:55:16 -05:00
parent 7394c957b2
commit 4b2bf1f604
No known key found for this signature in database
GPG Key ID: 2EECB5087209E6A5
1 changed files with 3 additions and 4 deletions

7
zshrc
View File

@ -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