=== modified file 'zsh-functions/find_ssh_agent' --- zsh-functions/find_ssh_agent 2013-09-04 03:55:54 +0000 +++ zsh-functions/find_ssh_agent 2013-06-04 18:44:28 +0000 @@ -1,7 +1,6 @@ find_ssh_agent () { - # setopt extendedglob ssh-add -l &>/dev/null && return - for SSH_AUTH_SOCK in /tmp/ssh-*/agent.*(N); do + for SSH_AUTH_SOCK in /tmp/ssh-*/agent.*; do SSH_AGENT_PID=${SSH_AUTH_SOCK%*agent.} export SSH_AUTH_SOCK SSH_AGENT_PID ssh-add -l &>/dev/null && return