Browse Source

Load dependencies after requirements check

master
Sorin Ionescu 12 years ago
parent
commit
875def4f43
  1. 6
      modules/ssh-agent/init.zsh

6
modules/ssh-agent/init.zsh

@ -11,14 +11,14 @@
# Sorin Ionescu <sorin.ionescu@gmail.com> # Sorin Ionescu <sorin.ionescu@gmail.com>
# #
# Load dependencies.
pmodload 'helper'
# Return if requirements are not found. # Return if requirements are not found.
if (( ! $+commands[ssh-agent] )); then if (( ! $+commands[ssh-agent] )); then
return 1 return 1
fi fi
# Load dependencies.
pmodload 'helper'
_ssh_agent_env="${HOME}/.ssh/environment-${HOST}" _ssh_agent_env="${HOME}/.ssh/environment-${HOST}"
_ssh_agent_forwarding= _ssh_agent_forwarding=

Loading…
Cancel
Save