Use env to find ssh-add

This commit is contained in:
Graham Christensen 2016-01-31 17:22:35 -06:00
commit 4f17712d8a

View file

@ -45,7 +45,7 @@ function _plugin__start_agent()
zstyle -a :omz:plugins:ssh-agent identities identities
echo starting ssh-agent...
/usr/bin/ssh-add $HOME/.ssh/${^identities}
/usr/bin/env ssh-add $HOME/.ssh/${^identities}
}
# Get the filename to store/lookup the environment from