sorin-ionescu/oh-my-zsh — pull request #15 by meh (2012-02-28 14:04:13+00:00)
Title: plugins/ssh-agent: make it work properly

I made it work, I think the breakage came from an update of ssh or something like that.

If it's the case I think it should work properly even with older versions.

I removed the sed because we already redirect to `/dev/null` when sourcing the file so we won't get the echos anyway.

If no identities were set it wasn't adding the default ones, so in case of absence of identities it adds the default when ssh-add is called without parameters.

Question though, wouldn't it be better to remove `/usr/bin/env ssh-agent` and `/usr/bin/ssh-add` and make it just `ssh-agent` and `ssh-add`?