better logic, idiot
This commit is contained in:
parent
7394c957b2
commit
4b2bf1f604
7
zshrc
7
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
|
if [ -z "$SSH_AUTH_SOCK" ] ; then
|
||||||
eval `ssh-agent -s`
|
eval `ssh-agent -s`
|
||||||
ssh-add ~/.ssh/id_rsa
|
ssh-add ~/.ssh/id_rsa
|
||||||
|
fi
|
||||||
|
#
|
||||||
|
if [ -e ~/.ssh/id_addgene ];then
|
||||||
ssh-add ~/.ssh/id_addgene
|
ssh-add ~/.ssh/id_addgene
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user