mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-02 02:19:06 +01:00
Check for availability of SSH agent
This commit is contained in:
parent
e250df829e
commit
1515ff4b25
1 changed files with 4 additions and 0 deletions
|
|
@ -20,6 +20,10 @@
|
||||||
# zstyle ':omz:plugin:ssh-agent' identities 'id_rsa' 'id_rsa2' 'id_github'
|
# 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_env="${HOME}/.ssh/environment-${HOST}"
|
||||||
_ssh_agent_forwarding=
|
_ssh_agent_forwarding=
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue