add check for .ssh folder, fixes #5128

This commit is contained in:
Andrew Titmuss 2016-10-14 23:50:49 +11:00
parent 31a84e710f
commit 23b6439d6b
No known key found for this signature in database
GPG Key ID: 8AF42975C787E0B2

View File

@ -1,3 +1,8 @@
if [[ ! -d $HOME/.ssh ]]; then
echo $HOME/.ssh not found, exiting...
return 1
fi
typeset _agent_forwarding _ssh_env_cache
function _start_agent() {