Check for availability of SSH agent
This commit is contained in:
parent
e250df829e
commit
1515ff4b25
|
@ -20,6 +20,10 @@
|
|||
# zstyle ':omz:plugin:ssh-agent' identities 'id_rsa' 'id_rsa2' 'id_github'
|
||||
#
|
||||
|
||||
if (( ! $+commands[ssh-agent] )); then
|
||||
return
|
||||
fi
|
||||
|
||||
_ssh_agent_env="${HOME}/.ssh/environment-${HOST}"
|
||||
_ssh_agent_forwarding=
|
||||
|
||||
|
|
Loading…
Reference in a new issue