Fix for multiple identities with ssh-agent.

This commit is contained in:
Chad Morrison 2012-03-07 19:53:46 -07:00
parent 7a745425c4
commit 5a7ab1fe5d

View file

@ -38,7 +38,7 @@ function _ssh-agent-start() {
if [[ ! -n "${identities}" ]]; then
ssh-add
else
ssh-add "${HOME}/.ssh/${^identities}"
ssh-add "${HOME}/.ssh/${^identities[@]}"
fi
}