prezto-inactive-community-fork / prezto

THIS FORK HAS SHUT DOWN – use the original!
https://github.com/sorin-ionescu/prezto
MIT License
115 stars 18 forks source link

Discover and reuse existing ssh-agent if possible #25

Closed slarew closed 7 years ago

slarew commented 7 years ago

A previous refactoring removed functionality that would discover and reuse an existing ssh-agent when possible. This change reintroduces the logic to first look for the ssh-agent socket, and if no socket exists to look for a previously saved environment variable set of a running ssh-agent.