add ssh-agent functions

This commit is contained in:
arcan1s
2015-05-16 01:24:05 +03:00
parent 0acc656dda
commit 5e9acc0213
2 changed files with 5 additions and 5 deletions

5
zsh/ssh-agent Normal file
View File

@ -0,0 +1,5 @@
if [[ ${EUID} != 0 ]]; then
if [[ -e "${HOME}/.ssh/id_rsa" ]]; then
ssh-add </dev/null
fi
fi